exhaustive test of discarded_dossier_deletion_job
This commit is contained in:
parent
ef11190cda
commit
5bc4fab0c4
2 changed files with 63 additions and 25 deletions
|
@ -111,6 +111,9 @@ FactoryBot.define do
|
|||
end
|
||||
end
|
||||
|
||||
trait :brouillon do
|
||||
end
|
||||
|
||||
trait :en_construction do
|
||||
after(:create) do |dossier, _evaluator|
|
||||
dossier.state = Dossier.states.fetch(:en_construction)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue