Skip to content

Commit

Permalink
Deprecate Promotion specs that test "any" match policy
Browse files Browse the repository at this point in the history
  • Loading branch information
mamhoff committed Mar 18, 2022
1 parent 8e58cd1 commit e23326e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/spec/models/spree/promotion_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e23326e

Please sign in to comment.