demarches-normaliennes/spec/factories/archive.rb
Christophe Robillard c25f3c79d9 add archive model
2021-04-28 11:40:58 +02:00

14 lines
270 B
Ruby

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