dossiers: change all links to use the new user dossiers list

This commit is contained in:
Pierre de La Morinerie 2018-06-27 12:47:02 +00:00
parent 148dc164f7
commit b4b533f0c5
17 changed files with 57 additions and 35 deletions

View file

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