Skip to content

Commit

Permalink
Merge pull request #5814 from mamhoff/fix-deprecation-warnings-in-tes…
Browse files Browse the repository at this point in the history
…t-suite

Use new extension point in order updater spec
  • Loading branch information
kennyadsl authored Aug 9, 2024
2 parents 0b0513c + 0d6017d commit 5a6ec9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/spec/models/spree/order_updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a6ec9b

Please sign in to comment.