Merge pull request #5964 from coopdevs/fix-flaky-product-update-spec

Check taxon's attribute instead of object identity
This commit is contained in:
Luis Ramos
2020-09-01 12:06:02 +01:00
committed by GitHub

View File

@@ -281,7 +281,7 @@ feature '
expect(p.variant_unit).to eq "weight"
expect(p.variant_unit_scale).to eq 1000 # Kg
expect(p.available_on).to eq 3.days.ago.beginning_of_day
expect(p.primary_taxon).to eq t1
expect(p.primary_taxon.permalink).to eq t1.permalink
expect(p.inherits_properties).to be false
expect(p.sku).to eq "NEW SKU"
end