Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

remove unnecessary selected_locale

wjwitek319468621e90
diff --git a/core/spec/lib/spree/core/controller_helpers/auth_spec.rb b/core/spec/lib/spree/core/controller_helpers/auth_spec.rb
index c1268400c3..19f873a0b3 100644
--- a/core/spec/lib/spree/core/controller_helpers/auth_spec.rb
+++ b/core/spec/lib/spree/core/controller_helpers/auth_spec.rb
@@ -25,7 +25,7 @@ describe Spree::Core::ControllerHelpers::Auth, type: :controller do
end
end
- let(:user) { build(:user, selected_locale: 'pl') }
+ let(:user) { build(:user) }
before { allow(controller).to receive(:spree_current_user).and_return(user) }
@@ -53,7 +53,7 @@ describe Spree::Core::ControllerHelpers::Auth, type: :controller do
end
end
- let(:user) { build(:user, selected_locale: 'pl') }
+ let(:user) { build(:user) }
before { allow(controller).to receive(:spree_current_user).and_return(user) }