Merge pull request #6497 from betagouv/fix_flaky_spec
Correction d'un échec aléatoire dans un test des transferts de dossier (#6497)
This commit is contained in:
commit
d5fad5c76e
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ describe Users::ProfilController, type: :controller do
|
|||
|
||||
it "transfer all dossiers" do
|
||||
expect(created_transfer.email).to eq(next_owner)
|
||||
expect(created_transfer.dossiers).to eq(dossiers)
|
||||
expect(created_transfer.dossiers).to match_array(dossiers)
|
||||
expect(flash.notice).to eq("Le transfert de 3 dossiers à #{next_owner} est en cours")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue