gitlab-org--gitlab-foss/spec/factories/ci/triggers.rb

10 lines
180 B
Ruby
Raw Normal View History

2015-08-25 21:42:46 -04:00
FactoryGirl.define do
factory :ci_trigger_without_token, class: Ci::Trigger do
owner
2015-09-09 08:17:16 -04:00
factory :ci_trigger do
sequence(:token) { |n| "token#{n}" }
2015-08-25 21:42:46 -04:00
end
end
end