fix system spec with trad

This commit is contained in:
Lisa Durand 2023-03-02 16:55:37 +01:00
parent 507d01dd44
commit efcb783c8c

View file

@ -25,7 +25,7 @@ describe 'Transfer dossier:' do
login_as other_user, scope: :user
visit dossiers_path
expect(page).to have_content("Demande de transfert #{dossier.reload.transfer.id} envoyé par #{user.email}")
expect(page).to have_content("Demande de transfert pour le dossier #{dossier.id} envoyé par #{user.email}")
click_on 'Accepter'
expect(page).to have_current_path(dossiers_path)
end