Update variants_spec to work with Selenium

This commit is contained in:
Rob Harrington
2018-05-31 19:31:04 +10:00
committed by luisramos0
parent 8413c5f60a
commit 8416af4995

View File

@@ -66,7 +66,9 @@ feature %q{
visit spree.admin_product_variants_path p
within "tr#spree_variant_#{v.id}" do
page.find('a.delete-resource').click
accept_alert do
page.find('a.delete-resource').click
end
end
page.should_not have_selector "tr#spree_variant_#{v.id}"