tests
This commit is contained in:
parent
90371bbb82
commit
cf0b3b4f74
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue