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