gitlab-org--gitlab-foss/spec/factories/events.rb

11 lines
204 B
Ruby
Raw Normal View History

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