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.

Update checkout_controller_spec.rb

Damian Legawiec8f6e6747b1c2
diff --git a/storefront/spec/controllers/spree/checkout_controller_spec.rb b/storefront/spec/controllers/spree/checkout_controller_spec.rb
index b06eacaba3..acfb85bac7 100644
--- a/storefront/spec/controllers/spree/checkout_controller_spec.rb
+++ b/storefront/spec/controllers/spree/checkout_controller_spec.rb
@@ -207,7 +207,7 @@ describe Spree::CheckoutController, type: :controller do
describe '#update' do
context 'save successful' do
before do
- allow_any_instance_of(Spree::OrderDecorator).to receive(:ensure_available_shipping_rates).and_return(true)
+ allow_any_instance_of(Spree::Order).to receive(:ensure_available_shipping_rates).and_return(true)
end
def spree_post_address