Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pending_builds.rb « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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