2019-08-01 14:26:49 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2020-01-09 18:07:52 +00:00
|
|
|
factory :ci_build_need, class: 'Ci::BuildNeed' do
|
2020-02-14 12:09:03 +00:00
|
|
|
build factory: :ci_build, scheduling_type: :dag
|
2019-08-01 14:26:49 +00:00
|
|
|
sequence(:name) { |n| "build_#{n}" }
|
|
|
|
end
|
|
|
|
end
|