BigW Consortium Gitlab

events.rb 201 Bytes
FactoryGirl.define do
  factory :event do
    project
    author factory: :user

    factory :closed_issue_event do
      action { Event::CLOSED }
      target factory: :closed_issue
    end
  end
end