From b629edcf9bb53acb85c6a43a2166258a8c66de49 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Fri, 13 Oct 2023 20:08:58 +0200 Subject: [PATCH] Fix spec warning in promotion rules spec Removes a (legitimate) warning from our spec runs. --- spec/models/solidus_friendly_promotions/promotion_rule_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/solidus_friendly_promotions/promotion_rule_spec.rb b/spec/models/solidus_friendly_promotions/promotion_rule_spec.rb index e2959e5d..ed2f93ce 100644 --- a/spec/models/solidus_friendly_promotions/promotion_rule_spec.rb +++ b/spec/models/solidus_friendly_promotions/promotion_rule_spec.rb @@ -24,7 +24,7 @@ def eligible?(_promotable, _options = {}) it "forces developer to implement eligible? method" do expect { bad_test_rule_class.new.eligible?("promotable") }.to raise_error NotImplementedError - expect { test_rule_class.new.eligible?("promotable") }.not_to raise_error NotImplementedError + expect { test_rule_class.new.eligible?("promotable") }.not_to raise_error end it "validates unique rules for a promotion" do