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.

add description to test

wjwitek737c716598ee
diff --git a/api/spec/serializers/spree/v2/storefront/user_serializer_spec.rb b/api/spec/serializers/spree/v2/storefront/user_serializer_spec.rb
index 192b466952..6d471cbfa8 100644
--- a/api/spec/serializers/spree/v2/storefront/user_serializer_spec.rb
+++ b/api/spec/serializers/spree/v2/storefront/user_serializer_spec.rb
@@ -67,7 +67,7 @@ describe Spree::V2::Storefront::UserSerializer do
context 'when user has selected non default locale' do
let(:user) { create(:user_with_addresses, selected_locale: 'fr') }
- it do
+ it 'returns the selected locale in the serialized hash' do
expect(subject.serializable_hash[:data][:attributes][:selected_locale]).to eq('fr')
end
end