fix(dossier): do not attempt to destroy transfers when a dossier is destroyed

we had a dependent option on both sides of a relationship which created race conditions
This commit is contained in:
Paul Chavard 2021-10-06 13:16:25 +02:00
parent f8a454d529
commit 9d5c5447c2
4 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,5 @@
FactoryBot.define do
factory :dossier_transfer do
email { generate(:user_email) }
end
end