9 lines
218 B
Ruby
9 lines
218 B
Ruby
FactoryBot.define do
|
|
factory :deleted_dossier do
|
|
dossier_id { 1111 }
|
|
state { Dossier.states.fetch(:en_construction) }
|
|
deleted_at { DateTime.now }
|
|
|
|
association :procedure, :published
|
|
end
|
|
end
|