2019-12-19 10:07:55 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2020-01-09 13:07:52 -05:00
|
|
|
factory :ci_resource, class: 'Ci::Resource' do
|
2019-12-19 10:07:55 -05:00
|
|
|
resource_group factory: :ci_resource_group
|
|
|
|
|
|
|
|
trait(:retained) do
|
|
|
|
build factory: :ci_build
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|