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

9 lines
207 B
Ruby
Raw Normal View History

# 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