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.

Fix spec

Krzysztof Kaliszc2895305afa4
diff --git a/frontend/spec/features/checkout_spec.rb b/frontend/spec/features/checkout_spec.rb
index 35cbaef9db..6cdb8902d4 100644
--- a/frontend/spec/features/checkout_spec.rb
+++ b/frontend/spec/features/checkout_spec.rb
@@ -200,7 +200,7 @@ describe 'Checkout', type: :feature, inaccessible: true, js: true do
end
it 'only returns supported payment method of current store' do
- expect(page).to have_css("#payment_method_#{unsupported_payment.id}", visible: :hidden)
+ expect(page).not_to have_css("#payment_method_#{unsupported_payment.id}", visible: :hidden)
end
end