debian-mirror-gitlab/spec/factories/ci/triggers.rb
2017-09-10 17:25:29 +05:30

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