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

resource.rb « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 515329506e5f8c62f75e2ae879d7c04ec7812138 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

FactoryBot.define do
  factory :ci_resource, class: 'Ci::Resource' do
    resource_group factory: :ci_resource_group

    trait(:retained) do
      build factory: :ci_build
    end
  end
end