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