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 3e8be72 commit 0d6017d
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 0d6017d

Please sign in to comment.