summaryrefslogtreecommitdiff
path: root/spec/factories/ci/triggers.rb
blob: 5089d43f6ff6d5e402776b941bbdf73131c5bdca (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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