BigW Consortium Gitlab

events.rb 204 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
FactoryGirl.define do
  factory :event do
    factory :closed_issue_event do
      project
      action { Event::CLOSED }
      target factory: :closed_issue
      author factory: :user
    end
  end
end