diff --git a/spec/system/users/transfer_dossier_spec.rb b/spec/system/users/transfer_dossier_spec.rb index c769d68d0..8ef070427 100644 --- a/spec/system/users/transfer_dossier_spec.rb +++ b/spec/system/users/transfer_dossier_spec.rb @@ -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 Nº #{dossier.reload.transfer.id} envoyé par #{user.email}") + expect(page).to have_content("Demande de transfert pour le dossier Nº #{dossier.id} envoyé par #{user.email}") click_on 'Accepter' expect(page).to have_current_path(dossiers_path) end