tests for: Profile -> History
This commit is contained in:
parent
68f4b59738
commit
9cabe04368
5 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue