Skip to content

Commit

Permalink
Fix coupon codes spec
Browse files Browse the repository at this point in the history
This spec was previously already fixed to not refer to any
promotion-system-related things, but I forgot this one line in #5686.
  • Loading branch information
mamhoff committed Mar 12, 2024
1 parent 37f27e4 commit 8d16e2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/spec/requests/spree/api/coupon_codes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 8d16e2d

Please sign in to comment.