BigW Consortium Gitlab

events.rb 201 Bytes
Newer Older
1 2
FactoryGirl.define do
  factory :event do
3 4 5
    project
    author factory: :user

6 7 8 9 10 11
    factory :closed_issue_event do
      action { Event::CLOSED }
      target factory: :closed_issue
    end
  end
end