MageTest/BehatMage — pull request #40 by jon-acker (2014-03-14 14:22:23+00:00)
Title: Don't add stock_data attribute if is_in_stock was not specified

"Given the following products exist" step was causing the stock_data attribute to be created regardless of whether is_in_stock was specified in the table. This in turn cause an empty stock_data attribute to override the default attribute of stock_data (with is_in_stock = 1, qty = 99999).
Now stock_data is taken from the table if is_in_stock/qty are provided, and uses defaults correctly if not.
Also, user should be prompted to provide qty if is_in_stock is specified.