From 8d16e2dc593f58b85932d90c67a45a897975c2bb Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Tue, 12 Mar 2024 09:49:51 +0100 Subject: [PATCH] Fix coupon codes spec This spec was previously already fixed to not refer to any promotion-system-related things, but I forgot this one line in #5686. --- api/spec/requests/spree/api/coupon_codes_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/api/spec/requests/spree/api/coupon_codes_spec.rb b/api/spec/requests/spree/api/coupon_codes_spec.rb index c7324d9c58d..993d5852422 100644 --- a/api/spec/requests/spree/api/coupon_codes_spec.rb +++ b/api/spec/requests/spree/api/coupon_codes_spec.rb @@ -132,7 +132,6 @@ module Spree::Api subject expect(response.status).to eq(422) - expect(order.reload.promotions).to eq([]) expect(json_response).to eq({ "success" => nil, "error" => I18n.t('spree.coupon_code_not_present'),