Working user order flow spec

This commit is contained in:
2013-12-02 07:38:02 +01:00
parent 7b9b784ef9
commit afb30556bd
15 changed files with 161 additions and 7 deletions
+4
View File
@@ -18,3 +18,7 @@ step 'a new order on a table in another section is created' do
@new_list = create :list, section: @new_section, table: @new_table, supplier: @supplier, user_ids: [@user.id]
@new_order = @new_list.place_order @user, {@product.id => 3}
end
step "I am signed in as a user" do
step "I visit the user obtain token path"
end