Ensure multiligual switcher specs run in large screen

This commit is contained in:
Rob Harrington
2018-06-02 18:26:45 +10:00
committed by luisramos0
parent 3a781049ed
commit 98a5b40aec

View File

@@ -4,6 +4,7 @@ feature 'Multilingual', js: true do
include AuthenticationWorkflow
include WebHelper
include ShopWorkflow
include UIComponentHelper
include CookieHelper
it 'has two locales available' do
@@ -97,6 +98,7 @@ feature 'Multilingual', js: true do
end
describe "using the language switcher UI" do
before { browse_as_large }
context "when there is only one language available" do
before do
allow(ENV).to receive(:[]).and_call_original