debian-mirror-gitlab/spec/factories/events.rb

12 lines
201 B
Ruby
Raw Normal View History

2016-06-02 11:05:42 +05:30
FactoryGirl.define do
factory :event do
2016-09-29 09:46:39 +05:30
project
author factory: :user
2016-06-02 11:05:42 +05:30
factory :closed_issue_event do
action { Event::CLOSED }
target factory: :closed_issue
end
end
end