We like passing specs

This commit is contained in:
2015-04-29 10:55:24 +02:00
parent e4e7198af5
commit dcd8c13e57
6 changed files with 15 additions and 12 deletions
@@ -43,7 +43,7 @@ step "there is another signed in user on the same list" do
end
step 'the other user orders a product :count times' do |count|
@list.place_order products: {@product.id => count.to_i}, user: @other_user
@list.place_order product_orders: [{'product_id' => @product.id, 'quantity' => count.to_i}], user: @other_user
end
step 'the other user is part of the list' do