refactor(links): use FAQ URL locale everywhere
This commit is contained in:
parent
ffeb2083f0
commit
faa5dda761
6 changed files with 10 additions and 10 deletions
|
@ -23,7 +23,7 @@ describe 'layouts/_header.html.haml', type: :view do
|
|||
it { is_expected.to_not have_css(".account-btn") }
|
||||
|
||||
it 'displays the Help link' do
|
||||
expect(subject).to have_link('Aide', href: FAQ_URL)
|
||||
expect(subject).to have_link('Aide', href: I18n.t("links.footer.faq.url"))
|
||||
end
|
||||
|
||||
context 'when on a procedure page' do
|
||||
|
@ -48,7 +48,7 @@ describe 'layouts/_header.html.haml', type: :view do
|
|||
it { is_expected.to have_selector(:button, user.email, class: "account-btn") }
|
||||
|
||||
it 'displays the Help button' do
|
||||
expect(subject).to have_link("Aide", href: FAQ_URL)
|
||||
expect(subject).to have_link("Aide", href: I18n.t("links.footer.faq.url"))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue