debian-mirror-gitlab/spec/factories/ci/triggers.rb
2018-03-17 18:26:18 +05:30

9 lines
179 B
Ruby

FactoryBot.define do
factory :ci_trigger_without_token, class: Ci::Trigger do
owner
factory :ci_trigger do
sequence(:token) { |n| "token#{n}" }
end
end
end