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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix spelling in spec tests.
Matthew Kennedyd39ab7fb6c5f
diff --git a/core/spec/models/spree/menu_spec.rb b/core/spec/models/spree/menu_spec.rbindex 212e41f60d..205c702cb3 100644--- a/core/spec/models/spree/menu_spec.rb+++ b/core/spec/models/spree/menu_spec.rb@@ -36,19 +36,19 @@ describe Spree::Menu, type: :model dolet!(:menu_en) { create(:menu, name: 'Main Menu EN', store: fr_store, locale: 'en') }let!(:menu_fr) { create(:menu, name: 'Main Menu FR', store: fr_store, locale: 'fr') }- context 'when the I18n.locale is set to a none default laguage and a menu is available' do+ context 'when the I18n.locale is set to a none default language and a menu is available' doit 'returns a menu in the correct locale' doexpect(described_class.for_header('en').name).to eql('Main Menu EN')endend- context 'when the I18n.locale is set to a none default laguage and a menu is not available' do+ context 'when the I18n.locale is set to a none default language and a menu is not available' doit 'returns a menu in the current stores default locale if one is available' doexpect(described_class.for_header('de')).to be nilendend- context 'when the I18n.locale is set to the default laguage and a menu is available' do+ context 'when the I18n.locale is set to the default language and a menu is available' doit 'returns a the default menu' doexpect(described_class.for_header('fr').name).to eql('Main Menu FR')end