summaryrefslogtreecommitdiff
path: root/spec/factories/ci/pending_builds.rb
blob: 31e42e1bc9e3e2c7a4a03a217f781f51dbd7cf9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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 }
    namespace { project.namespace }
    minutes_exceeded { false }
    tag_ids { build.tags_ids }
  end
end