mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix modifying taxons in ShopsCaching spec
This was triggering an error via the callback Spree::Product#remove_previous_primary_taxon_from_taxons
This commit is contained in:
@@ -73,7 +73,7 @@ feature "Shops caching", js: true, caching: true do
|
||||
expect(page).to have_content taxon.name
|
||||
expect(page).to have_content property.presentation
|
||||
|
||||
product.update_attribute(:taxons, [taxon2])
|
||||
product.taxons << taxon2
|
||||
product.update_attribute(:primary_taxon, taxon2)
|
||||
product.update_attribute(:properties, [property2])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user