From b9f28e8a79ff69cb8d13a4bb84d38c05c3d4314f Mon Sep 17 00:00:00 2001 From: Splines Date: Thu, 31 Oct 2024 02:10:39 +0100 Subject: [PATCH] Remove unwanted test I accidentally added this even though it's not the wanted behavior. --- spec/models/redeemer_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/models/redeemer_spec.rb b/spec/models/redeemer_spec.rb index b82ee0a6b..53f2a39c9 100644 --- a/spec/models/redeemer_spec.rb +++ b/spec/models/redeemer_spec.rb @@ -28,11 +28,6 @@ lecture.reload expect(Notification.count).to eq(count_before + lecture.editors_and_teacher.count) end - - it "does not allow multiple redemptions" do - voucher.redeem(params) - expect { voucher.redeem(params) }.not_to(change { Redemption.count }) - end end context "when the voucher is for a tutor" do