Move voucher processing out of checkout controller

This commit is contained in:
Matt-Yorkley
2023-06-02 00:58:06 +01:00
committed by Gaetan Craig-Riou
parent bddc10626b
commit 04bbea53e1

View File

@@ -83,7 +83,7 @@ describe VoucherAdjustmentsController, type: :request do
expect(response).to be_successful
end
context "when adjustment doesn't exits" do
context "when adjustment doesn't exist" do
it "does nothing" do
delete "/voucher_adjustments/-1"