Update order correctly in ReturnAuthorizationsController

This commit is contained in:
Matt-Yorkley
2021-02-11 17:01:47 +00:00
parent 833aae23e5
commit f0de09da84

View File

@@ -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