gitlab-org--gitlab-foss/spec/factories/events.rb
2016-03-04 15:26:51 -05:00

10 lines
204 B
Ruby

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