MageHack/BehatMage — pull request #2 by jon-acker (2014-03-14 14:20:08+00:00)
Title: Product fixture use default stock quantity

"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.