From 0d6017d66a319d989cdfa92115b1578623c8b3f9 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Thu, 8 Aug 2024 12:10:59 +0200 Subject: [PATCH] Use new extension point in order updater spec This spec still used one of the old extension points for the promotion system, and #5813 exposed that. --- core/spec/models/spree/order_updater_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/spec/models/spree/order_updater_spec.rb b/core/spec/models/spree/order_updater_spec.rb index 0bf623256d4..c6b80031935 100644 --- a/core/spec/models/spree/order_updater_spec.rb +++ b/core/spec/models/spree/order_updater_spec.rb @@ -62,7 +62,7 @@ module Spree describe 'promotion recalculation' do it "calls the Promotion Adjustments Recalculator" do adjuster = double(:call) - expect(Spree::Config.promotion_adjuster_class).to receive(:new).and_return(adjuster) + expect(Spree::Config.promotions.order_adjuster_class).to receive(:new).and_return(adjuster) expect(adjuster).to receive(:call) order.recalculate end