debian-mirror-gitlab/spec/factories/ci/triggers.rb

8 lines
169 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
FactoryGirl.define do
factory :ci_trigger_without_token, class: Ci::Trigger do
factory :ci_trigger do
2017-08-17 22:00:37 +05:30
sequence(:token) { |n| "token#{n}" }
2015-09-25 12:07:36 +05:30
end
end
end