2021-06-21 11:07:30 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
|
|
|
factory :ci_pending_build, class: 'Ci::PendingBuild' do
|
|
|
|
build factory: :ci_build
|
|
|
|
project
|
|
|
|
protected { build.protected }
|
2021-07-13 11:08:38 -04:00
|
|
|
instance_runners_enabled { true }
|
2021-08-03 08:09:42 -04:00
|
|
|
namespace { project.namespace }
|
|
|
|
minutes_exceeded { false }
|
2021-09-16 08:09:35 -04:00
|
|
|
tag_ids { build.tags_ids }
|
2021-09-20 11:12:39 -04:00
|
|
|
namespace_traversal_ids { project.namespace.traversal_ids }
|
2021-06-21 11:07:30 -04:00
|
|
|
end
|
|
|
|
end
|