help: add a custom help dropdown in gestionnaire context

This commit is contained in:
Pierre de La Morinerie 2019-03-19 14:48:26 +01:00
parent 549b17f75e
commit 69580288a4
4 changed files with 26 additions and 11 deletions

View file

@ -28,9 +28,8 @@ describe 'layouts/_new_header.html.haml', type: :view do
it { is_expected.to have_css("a.header-logo[href=\"#{gestionnaire_procedures_path}\"]") }
it "displays the contact infos" do
expect(rendered).to have_text("Contact")
expect(rendered).to have_link("par email", href: contact_url)
it 'displays the Help dropdown menu' do
expect(rendered).to have_css(".help-dropdown")
end
end
end