dossiers: change all links to use the new user dossiers list
This commit is contained in:
parent
148dc164f7
commit
b4b533f0c5
17 changed files with 57 additions and 35 deletions
|
@ -14,8 +14,8 @@ describe 'layouts/_new_header.html.haml', type: :view do
|
|||
let(:user) { create(:user) }
|
||||
let(:profile) { :user }
|
||||
|
||||
it { is_expected.to have_css("a.header-logo[href=\"#{users_dossiers_path}\"]") }
|
||||
it { is_expected.to have_link("Dossiers", href: users_dossiers_path) }
|
||||
it { is_expected.to have_css("a.header-logo[href=\"#{dossiers_path}\"]") }
|
||||
it { is_expected.to have_link("Dossiers", href: dossiers_path) }
|
||||
end
|
||||
|
||||
context 'when rendering for gestionnaire' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue