Update product import spec

This commit is contained in:
Matt-Yorkley
2023-08-08 11:53:48 +01:00
committed by Gaetan Craig-Riou
parent 6b3e33f607
commit 861f2aef01

View File

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