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
[SD-1280] Fix currency code in spec
piotrpankoa69c05f642d8
diff --git a/frontend/spec/features/products_spec.rb b/frontend/spec/features/products_spec.rbindex 266c7ce482..d810653e0d 100644--- a/frontend/spec/features/products_spec.rb+++ b/frontend/spec/features/products_spec.rb@@ -317,7 +317,7 @@ describe 'Visiting Products', type: :feature, inaccessible: true doit 'is not able to put a product without a current price in the cart' doproduct = FactoryBot.create(:base_product, description: nil, name: 'Sample', price: '19.99')- store.update(default_currency: 'CAN')+ store.update(default_currency: 'CAD')Spree::Config.show_products_without_price = truevisit spree.product_path(product)expect(page).to have_content 'This product is not available in the selected currency.'