Fix list unit and supplier main board acceptance specs
This commit is contained in:
@@ -9,7 +9,7 @@ step "the order should be marked as delivered" do
|
||||
end
|
||||
|
||||
step "another order is placed" do
|
||||
@new_order = @list.place_order @user, {@product.id => 5}
|
||||
@new_order = @list.place_order(products: {@product.id => 5}, user: @user)
|
||||
end
|
||||
|
||||
step "the user order should be created as a new order" do
|
||||
|
||||
Reference in New Issue
Block a user