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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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-09 13:42:32 +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