This commit is contained in:
kara Diaby 2021-08-12 11:39:33 +02:00
parent 90371bbb82
commit cf0b3b4f74

View file

@ -30,7 +30,7 @@ RSpec.shared_examples 'the user can send messages to the instructeur' do
expect(page).to have_current_path(messagerie_dossier_path(dossier)) expect(page).to have_current_path(messagerie_dossier_path(dossier))
expect(page).to have_content(commentaire.body) expect(page).to have_content(commentaire.body)
fill_in 'commentaire_body', with: message_body fill_in "messagerie-#{dossier.id}", with: message_body
click_on 'Envoyer le message' click_on 'Envoyer le message'
expect(page).to have_current_path(messagerie_dossier_path(dossier)) expect(page).to have_current_path(messagerie_dossier_path(dossier))