We like passing specs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user