From 7c2c614f903399a4ae927ee8aed6b16ac1d47101 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou <40413322+rioug@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:52:04 +1000 Subject: [PATCH] Update spec/models/spree/variant_spec.rb Co-authored-by: David Cook --- spec/models/spree/variant_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index 7f3d1559ef..c0974a3baa 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -50,7 +50,7 @@ RSpec.describe Spree::Variant do it { is_expected.to validate_presence_of :variant_unit } - context "when the product's unit is items" do + context "when the unit is items" do subject(:variant) { build(:variant, variant_unit: "items", variant_unit_name: "box") } it "is valid with only unit value set" do