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

7 lines
169 B
Ruby

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