From 5141723b21e76f840d5eda0ee1ed1bb8435ab110 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Thu, 15 Oct 2020 16:04:06 +0100 Subject: [PATCH] Re-add restart checkout specs These were breaking because of the class_evals on the checkout_spec --- spec/services/order_checkout_restart_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/services/order_checkout_restart_spec.rb b/spec/services/order_checkout_restart_spec.rb index c2dc9b43f1..f74a427c02 100644 --- a/spec/services/order_checkout_restart_spec.rb +++ b/spec/services/order_checkout_restart_spec.rb @@ -23,7 +23,7 @@ describe OrderCheckoutRestart do order.update_attribute(:state, "payment") end - xcontext "when order ship address is nil" do + context "when order ship address is nil" do before { order.ship_address = nil } it "resets the order state, and clears incomplete shipments and payments" do @@ -33,7 +33,7 @@ describe OrderCheckoutRestart do end end - xcontext "when order ship address is not empty" do + context "when order ship address is not empty" do before { order.ship_address = order.address_from_distributor } it "resets the order state, and clears incomplete shipments and payments" do