demarches-normaliennes/spec/factories/deleted_dossier.rb

10 lines
218 B
Ruby
Raw Normal View History

2018-07-16 14:39:04 +02:00
FactoryBot.define do
factory :deleted_dossier do
2018-09-04 16:46:48 +02:00
dossier_id { 1111 }
state { Dossier.states.fetch(:en_construction) }
deleted_at { DateTime.now }
2018-07-16 14:39:04 +02:00
association :procedure, :published
end
end