gitlab-org--gitlab-foss/spec/factories/ci/build_need.rb

8 lines
207 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ci_build_need, class: 'Ci::BuildNeed' do
build factory: :ci_build, scheduling_type: :dag
sequence(:name) { |n| "build_#{n}" }
end
end