rend le test plus élégant
This commit is contained in:
parent
6fc8a27bd7
commit
4bf020cb96
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ describe User, type: :model do
|
|||
dossier_cache.delete_and_keep_track(administration)
|
||||
user.delete_and_keep_track_dossiers(administration)
|
||||
|
||||
expect(Dossier.find_by(id: dossier_from_another_user.id)).not_to be_nil
|
||||
expect(Dossier.find_by(id: dossier_from_another_user.id)).to be_present
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue