debian-mirror-gitlab/spec/factories/container_registry/data_repair_detail.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
375 B
Ruby
Raw Normal View History

2023-07-09 08:55:56 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :container_registry_data_repair_detail, class: 'ContainerRegistry::DataRepairDetail' do
project
updated_at { 1.hour.ago }
trait :ongoing do
status { :ongoing }
end
trait :completed do
status { :completed }
end
trait :failed do
status { :failed }
end
end
end