Skip to content

Commit c736cd8

Browse files
sofiabesenski4adammathysKendra Rigasenemsoy
authored andcommitted
Update classic order updater specs
This removes the deprecation warnings from our test suite. Co-authored-by: Adam Mueller <adam@super.gd> Co-authored-by: Kendra Riga <kendra@super.gd> Co-authored-by: Senem Soy <senem@super.gd>
1 parent e2e6ed2 commit c736cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/spec/models/spree/order_updater_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ module Spree
308308

309309
context "updating payment state" do
310310
let(:order) { create(:order) }
311-
let(:updater) { order.recalculator }
311+
let(:updater) { described_class.new(order) }
312312
before { allow(order).to receive(:refund_total).and_return(0) }
313313

314314
it "logs a state change for the payment" do

0 commit comments

Comments
 (0)