From d2828585eb15ea3382388983dbf865bb080b560f Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Mon, 8 Mar 2021 09:24:59 -0800 Subject: [PATCH] fix typo in spec --- spec/services/unit_prices_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/unit_prices_spec.rb b/spec/services/unit_prices_spec.rb index 28b3ebfaba..66a54ffed7 100644 --- a/spec/services/unit_prices_spec.rb +++ b/spec/services/unit_prices_spec.rb @@ -41,7 +41,7 @@ describe UnitPrices do allow(product).to receive(:variant_unit_name) { nil } allow(product).to receive(:variant_unit_scale) { nil } allow(product).to receive(:variant_unit) { "items" } - expect(subject.unit).to eq("item") + expect(subject.unit).to eq("Item") end it "returns the unit if a unit is specified" do