debian-mirror-gitlab/spec/factories/ci/build_need.rb

9 lines
207 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
FactoryBot.define do
2020-03-13 15:44:24 +05:30
factory :ci_build_need, class: 'Ci::BuildNeed' do
build factory: :ci_build, scheduling_type: :dag
2019-10-12 21:52:04 +05:30
sequence(:name) { |n| "build_#{n}" }
end
end