summaryrefslogtreecommitdiff
path: root/spec/factories/ci/pending_builds.rb
blob: fbd76e07d8eeebedb1c60bce1a14bdf4e4f91cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 }
  end
end