mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-10 23:07:47 +00:00
Post rebase, fix product cloning spec
This commit is contained in:
@@ -302,7 +302,7 @@ RSpec.describe 'As an enterprise user, I can manage my products' do
|
||||
# The page has not been reloaded so the product's name is still "Apples"
|
||||
click_product_clone "Apples"
|
||||
|
||||
expect(page).to have_content "Unable to clone the product"
|
||||
expect(page).to have_content "Product Name is too long (maximum is 255 characters)"
|
||||
|
||||
within "table.products" do
|
||||
# Products does not include the cloned product.
|
||||
|
||||
Reference in New Issue
Block a user