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:
parent
f8a454d529
commit
9d5c5447c2
4 changed files with 22 additions and 2 deletions
5
spec/factories/dossier_transfer.rb
Normal file
5
spec/factories/dossier_transfer.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
FactoryBot.define do
|
||||
factory :dossier_transfer do
|
||||
email { generate(:user_email) }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue