Profile: add breadcrumb

This commit is contained in:
simon lehericey 2018-08-24 17:55:35 +02:00
parent 2c8188f4ae
commit 1af789b9a8
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
= render partial: 'new_administrateur/breadcrumbs',
locals: { steps: [link_to('Tableau de bord', admin_procedures_path),
'Profil'] }
#profil-page.container
%h1 Profil

View file

@ -47,8 +47,7 @@ feature 'Administrator connection' do
end
context 'when clicking on procedure' do
before do
page.find_by_id('admin_menu').click
page.find_by_id('menu_item_procedure').click
page.click_on('Tableau de bord').click
end
scenario 'it redirects to procedure page' do