mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
Update product import spec
This commit is contained in:
committed by
Gaetan Craig-Riou
parent
6b3e33f607
commit
861f2aef01
@@ -284,7 +284,7 @@ describe ProductImport::ProductImporter do
|
||||
carrots = Spree::Product.find_by(name: 'Good Carrots')
|
||||
expect(carrots.on_hand).to eq 5
|
||||
expect(carrots.variants.first.price).to eq 3.20
|
||||
expect(carrots.primary_taxon.name).to eq "Vegetables"
|
||||
expect(carrots.variants.first.primary_taxon.name).to eq "Vegetables"
|
||||
expect(carrots.variants.first.shipping_category).to eq shipping_category
|
||||
expect(carrots.supplier).to eq enterprise
|
||||
expect(carrots.variants.first.unit_presentation).to eq "500g"
|
||||
|
||||
Reference in New Issue
Block a user