debian-mirror-gitlab/spec/factories/ci/triggers.rb
2019-10-12 21:52:04 +05:30

11 lines
210 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