Fix checkout specs

This commit is contained in:
Rob H
2014-03-06 12:49:29 +11:00
parent 24d97bd754
commit 068a6ebd95

View File

@@ -224,7 +224,6 @@ def select_order_cycle
end
def add_product_to_cart
fill_in "variants[#{product.master.id}]", with: 5
fill_in "variants[#{product.master.id}]", with: product.master.on_hand - 1
first("form.custom > input.button.right").click
end