debian-mirror-gitlab/spec/factories/events.rb
2016-09-29 09:46:39 +05:30

11 lines
201 B
Ruby

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