Normalize the capitalisation of tab names in the Accompagnateur header

This commit is contained in:
gregoirenovel 2017-10-05 15:39:41 +02:00
parent 002ccf3552
commit 044e0e69b8
2 changed files with 3 additions and 3 deletions

View file

@ -18,11 +18,11 @@
%li{ class: current_page?(annotations_privees_dossier_path(dossier.procedure, dossier)) ? 'active' : nil } %li{ class: current_page?(annotations_privees_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
- if notifications_summary[:annotations_privees] - if notifications_summary[:annotations_privees]
%span.notifications{ 'aria-label': 'notifications' } %span.notifications{ 'aria-label': 'notifications' }
= link_to "Annotations Privées", annotations_privees_dossier_path(dossier.procedure, dossier) = link_to "Annotations privées", annotations_privees_dossier_path(dossier.procedure, dossier)
%li{ class: current_page?(avis_dossier_path(dossier.procedure, dossier)) ? 'active' : nil } %li{ class: current_page?(avis_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
- if notifications_summary[:avis] - if notifications_summary[:avis]
%span.notifications{ 'aria-label': 'notifications' } %span.notifications{ 'aria-label': 'notifications' }
= link_to "Avis Externes", avis_dossier_path(dossier.procedure, dossier) = link_to "Avis externes", avis_dossier_path(dossier.procedure, dossier)
%li{ class: current_page?(messagerie_dossier_path(dossier.procedure, dossier)) ? 'active' : nil } %li{ class: current_page?(messagerie_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
- if notifications_summary[:messagerie] - if notifications_summary[:messagerie]
%span.notifications{ 'aria-label': 'notifications' } %span.notifications{ 'aria-label': 'notifications' }

View file

@ -64,7 +64,7 @@ feature 'The gestionnaire part' do
click_on procedure.libelle click_on procedure.libelle
click_on dossier.user.email click_on dossier.user.email
click_on 'Avis Externes' click_on 'Avis externes'
expect(page).to have_current_path(avis_dossier_path(procedure, dossier)) expect(page).to have_current_path(avis_dossier_path(procedure, dossier))
expert_email = 'expert@tps.com' expert_email = 'expert@tps.com'