tests for: Profile -> History

This commit is contained in:
randx 2012-09-27 23:23:11 +03:00
parent 68f4b59738
commit 9cabe04368
5 changed files with 24 additions and 0 deletions

View file

@ -20,6 +20,7 @@ class Event < ActiveRecord::Base
delegate :title, to: :issue, prefix: true, allow_nil: true
delegate :title, to: :merge_request, prefix: true, allow_nil: true
belongs_to :author, class_name: "User"
belongs_to :project
belongs_to :target, polymorphic: true