Profile: add breadcrumb
This commit is contained in:
parent
2c8188f4ae
commit
1af789b9a8
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
= render partial: 'new_administrateur/breadcrumbs',
|
||||||
|
locals: { steps: [link_to('Tableau de bord', admin_procedures_path),
|
||||||
|
'Profil'] }
|
||||||
|
|
||||||
#profil-page.container
|
#profil-page.container
|
||||||
%h1 Profil
|
%h1 Profil
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,7 @@ feature 'Administrator connection' do
|
||||||
end
|
end
|
||||||
context 'when clicking on procedure' do
|
context 'when clicking on procedure' do
|
||||||
before do
|
before do
|
||||||
page.find_by_id('admin_menu').click
|
page.click_on('Tableau de bord').click
|
||||||
page.find_by_id('menu_item_procedure').click
|
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'it redirects to procedure page' do
|
scenario 'it redirects to procedure page' do
|
||||||
|
|
Loading…
Reference in a new issue