debian-mirror-gitlab/spec/factories/ci/build_need.rb
2020-03-13 15:44:24 +05:30

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