Skip to content

Commit

Permalink
Use new extension point in order updater spec
Browse files Browse the repository at this point in the history
This spec still used one of the old extension points for the promotion
system, and #5813 exposed that.
  • Loading branch information
mamhoff committed Aug 8, 2024
1 parent f2a32d6 commit 9743a4d
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 9743a4d

Please sign in to comment.