debian-mirror-gitlab/spec/factories/ci/triggers.rb
2020-03-09 13:42:32 +05:30

11 lines
212 B
Ruby

# frozen_string_literal: true
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