Re-add restart checkout specs

These were breaking because of the class_evals on the checkout_spec
This commit is contained in:
Luis Ramos
2020-10-15 16:04:06 +01:00
parent fb3f35100f
commit 5141723b21

View File

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