fix lint issues

This commit is contained in:
Ahmed Ejaz
2025-03-03 06:15:09 +05:00
parent bf6934db94
commit ccfd0edbf1
6 changed files with 22 additions and 19 deletions

View File

@@ -121,7 +121,6 @@ RSpec.describe 'As a producer who have the ability to update orders' do
end
end
def expect_product_change(product, action, expected_qty = 0)
within('table.index') do
# JS for this page sometimes take more than 2 seconds (default timeout for cappybara)
@@ -157,8 +156,6 @@ RSpec.describe 'As a producer who have the ability to update orders' do
find("a[data-variant-id='#{product.variants.last.id}'][data-action='remove']").click
click_button 'OK'
end
end
end
end