From e23326e4522b0672ae534a4e74e17186cffb0dc7 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Fri, 18 Mar 2022 09:47:55 +0100 Subject: [PATCH] Deprecate Promotion specs that test "any" match policy --- core/spec/models/spree/promotion_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/spec/models/spree/promotion_spec.rb b/core/spec/models/spree/promotion_spec.rb index 2b2294d572b..0514187f47d 100644 --- a/core/spec/models/spree/promotion_spec.rb +++ b/core/spec/models/spree/promotion_spec.rb @@ -795,7 +795,7 @@ end end - context "with 'any' match policy" do + context "with 'any' match policy", :deprecated_examples do let(:promotable) { double('Promotable') } before do @@ -861,7 +861,7 @@ end end - context 'when the match policy is any' do + context 'when the match policy is any', :deprecated_examples do before { promotion.match_policy = 'any' } context 'when at least one rule allows action on the line item' do