messages: improve wording of the "Send" button

This commit is contained in:
Pierre de La Morinerie 2019-01-07 15:04:59 +00:00
parent 46b4d3c46b
commit be1567ecbd
2 changed files with 2 additions and 2 deletions

View file

@ -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 }

View file

@ -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é')