mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
fix typo in spec
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user