Fix test for Portuguese

It fails because we try to follow a link without a Portuguese
translation. In Madrid they use Spanish as fallback, but in consul we
use English as fallback, and so the text in the link is different in
those repos.

A proper solution would be to update the Portuguese locales. However,
since this test is going to be removed in our next backport, I'm just
doing a quick patch.
This commit is contained in:
Javi Martín
2018-09-12 10:50:10 +02:00
parent 700a60e4d7
commit 29b9f172f6

View File

@@ -98,7 +98,7 @@ feature "Translations" do
expect(page).to have_content("Description in English")
select('Português', from: 'locale-switcher')
click_link("Seguimiento (1)")
click_link("Milestones (1)")
expect(page).to have_content('Description in pt-BR')
end