diff --git a/spec/controllers/spree/admin/return_authorizations_controller_spec.rb b/spec/controllers/spree/admin/return_authorizations_controller_spec.rb index 4cc170872b..4930f78fc9 100644 --- a/spec/controllers/spree/admin/return_authorizations_controller_spec.rb +++ b/spec/controllers/spree/admin/return_authorizations_controller_spec.rb @@ -17,10 +17,10 @@ module Spree # Pay the order order.payments.first.complete - order.updater.update_payment_state + order.update! # Ship the order - order.reload.shipment.ship! + order.shipment.ship! end it "creates and updates a return authorization" do