From c2f725b20ca9bfc585720c1bab07d9ac36dcd57a Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 18 Mar 2026 13:21:27 +1100 Subject: [PATCH] Remove redundant language setup We tested earlier already that we have the needed languages available. --- spec/system/consumer/multilingual_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/system/consumer/multilingual_spec.rb b/spec/system/consumer/multilingual_spec.rb index 09b7d3c673..63da415a78 100644 --- a/spec/system/consumer/multilingual_spec.rb +++ b/spec/system/consumer/multilingual_spec.rb @@ -65,12 +65,6 @@ RSpec.describe 'Multilingual' do describe "using the language switcher UI" do context "when there are multiple languages available" do - before do - allow(ENV).to receive(:[]).and_call_original - allow(ENV).to receive(:[]).with("LOCALE").and_return("en") - allow(ENV).to receive(:[]).with("AVAILABLE_LOCALES").and_return("en,es") - end - it "allows switching language via the main navigation" do visit root_path