debian-mirror-gitlab/spec/factories/ci/triggers.rb
2020-03-13 15:44:24 +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