help: add a custom help dropdown in dossier context

This commit is contained in:
Pierre de La Morinerie 2019-03-13 15:48:38 +00:00
parent ce9c5da6e1
commit 549b17f75e
8 changed files with 219 additions and 3 deletions

View file

@ -16,6 +16,10 @@ describe 'layouts/_new_header.html.haml', type: :view do
it { is_expected.to have_css("a.header-logo[href=\"#{dossiers_path}\"]") }
it { is_expected.to have_link("Dossiers", href: dossiers_path) }
it 'displays the Help button' do
expect(subject).to have_link("Aide", href: FAQ_URL)
end
end
context 'when rendering for gestionnaire' do