debian-mirror-gitlab/spec/factories/ci/resource.rb

12 lines
228 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :ci_resource, class: 'Ci::Resource' do
resource_group factory: :ci_resource_group
trait(:retained) do
2021-03-11 19:13:27 +05:30
processable factory: :ci_build
2020-03-13 15:44:24 +05:30
end
end
end