demarches-normaliennes/spec/factories/deleted_dossier.rb
2018-10-26 10:10:20 +00:00

9 lines
219 B
Ruby

FactoryBot.define do
factory :deleted_dossier do
dossier_id { 1111 }
state { Dossier.states.fetch(:en_construction) }
deleted_at { Time.zone.now }
association :procedure, :published
end
end