15 lines
249 B
Ruby
15 lines
249 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :image_ttl_group_policy, class: 'DependencyProxy::ImageTtlGroupPolicy' do
|
|
group
|
|
|
|
enabled { true }
|
|
ttl { 90 }
|
|
|
|
trait :disabled do
|
|
enabled { false }
|
|
end
|
|
end
|
|
end
|