fix typo in spec

This commit is contained in:
Andy Brett
2021-03-08 09:24:59 -08:00
parent 6ebf45610d
commit d2828585eb

View File

@@ -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