Enable tests

Thanks to @filipefurtad0 you now have tests ready before fixing anything : 👍 🙏
This commit is contained in:
Jean-Baptiste Bellet
2021-04-14 16:16:52 +02:00
parent 76112fcf40
commit 8a3eea7a27

View File

@@ -488,7 +488,7 @@ feature '
expect(flash_message).to eq('Product "a product" has been successfully updated!')
product.reload
expect(product.variant_unit).to eq(var_unit)
# TODO -> expect(page).to have_select('product_variant_unit_with_scale', :selected => dropdown_option)
expect(page).to have_select('product_variant_unit_with_scale', selected: dropdown_option)
expect(product.variant_unit_scale).to eq(var_unit_scale)
end
end