demarches-normaliennes/spec/factories/archive.rb

15 lines
270 B
Ruby
Raw Normal View History

2021-03-29 17:07:46 +02:00
FactoryBot.define do
factory :archive do
content_type { 'everything' }
groupe_instructeurs { [association(:groupe_instructeur)] }
trait :pending do
status { 'pending' }
end
trait :generated do
status { 'generated' }
end
end
end