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

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

15 lines
395 B
Ruby
Raw Normal View History

2021-09-30 23:02:18 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :ci_pending_build, class: 'Ci::PendingBuild' do
build factory: :ci_build
project
protected { build.protected }
instance_runners_enabled { true }
2021-10-27 15:23:28 +05:30
namespace { project.namespace }
minutes_exceeded { false }
2021-11-11 11:23:49 +05:30
tag_ids { build.tags_ids }
2021-11-18 22:05:49 +05:30
namespace_traversal_ids { project.namespace.traversal_ids }
2021-09-30 23:02:18 +05:30
end
end