messages: improve wording of the "Send" button
This commit is contained in:
parent
46b4d3c46b
commit
be1567ecbd
2 changed files with 2 additions and 2 deletions
|
@ -8,4 +8,4 @@
|
|||
(taille max : 20 Mo)
|
||||
|
||||
%div
|
||||
= f.submit 'Envoyer', class: 'button primary send', data: { disable: true }
|
||||
= f.submit 'Envoyer le message', class: 'button primary send', data: { disable: true }
|
||||
|
|
|
@ -31,7 +31,7 @@ RSpec.shared_examples 'the user can send messages to the instructeur' do
|
|||
expect(page).to have_content(commentaire.body)
|
||||
|
||||
fill_in 'commentaire_body', with: message_body
|
||||
click_on 'Envoyer'
|
||||
click_on 'Envoyer le message'
|
||||
|
||||
expect(page).to have_current_path(messagerie_dossier_path(dossier))
|
||||
expect(page).to have_content('Message envoyé')
|
||||
|
|
Loading…
Reference in a new issue