mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Adapt large browser window as default
We were really close to that anyway. It simplifies the code a bit.
This commit is contained in:
@@ -24,9 +24,7 @@ describe "Authentication" do
|
||||
before do
|
||||
visit root_path
|
||||
end
|
||||
describe "as large" do
|
||||
around { |example| browse_as_large { example.run } }
|
||||
|
||||
describe "with default large screen" do
|
||||
before do
|
||||
open_login_modal
|
||||
end
|
||||
|
||||
@@ -100,8 +100,6 @@ describe 'Multilingual' do
|
||||
end
|
||||
|
||||
describe "using the language switcher UI" do
|
||||
around { |example| browse_as_large { example.run } }
|
||||
|
||||
context "when there is only one language available" do
|
||||
before do
|
||||
allow(ENV).to receive(:[]).and_call_original
|
||||
|
||||
Reference in New Issue
Block a user