mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Refector spec
This commit is contained in:
committed by
Maikel Linke
parent
357eda8c19
commit
afed5ab666
@@ -72,9 +72,10 @@ feature 'Multilingual', js: true do
|
||||
describe "using the language switcher UI" do
|
||||
context "when there is only one language available" do
|
||||
around do |example|
|
||||
available_locales = I18n.available_locales
|
||||
I18n.available_locales = ['en']
|
||||
example.run
|
||||
I18n.available_locales = ['en', 'es']
|
||||
I18n.available_locales = available_locales
|
||||
end
|
||||
|
||||
it "hides the dropdown language menu" do
|
||||
|
||||
Reference in New Issue
Block a user