Remove redundant language setup

We tested earlier already that we have the needed languages available.
This commit is contained in:
Maikel Linke
2026-03-18 13:21:27 +11:00
parent b939d41bf5
commit c2f725b20c

View File

@@ -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