Per review, fixing specs descriptions

This commit is contained in:
Gaetan Craig-Riou
2025-10-15 14:29:52 +11:00
parent d51e257904
commit 307acdd9d1
4 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ RSpec.describe TagRule::FilterOrderCycles do
end
end
describe "#reject_matched?" do
describe "#tags_match?" do
context "when the exchange is nil" do
before do
allow(tag_rule).to receive(:exchange_for) { nil }

View File

@@ -16,7 +16,7 @@ RSpec.describe TagRule::FilterPaymentMethods do
end
end
describe "#tag_match?" do
describe "#tags_match?" do
context "when the payment method is nil" do
it "returns false" do
expect(tag_rule.tags_match?(nil)).to be false

View File

@@ -14,7 +14,7 @@ RSpec.describe TagRule::FilterProducts do
end
end
describe "determining whether tags match for a given variant" do
describe "#tags_match?" do
let(:variant_tags) { "my_tag" }
context "when the variant is nil" do

View File

@@ -16,7 +16,7 @@ RSpec.describe TagRule::FilterShippingMethods do
end
end
describe "#tag_match?" do
describe "#tags_match?" do
context "when the shipping method is nil" do
it "returns false" do
expect(tag_rule.tags_match?(nil)).to be false