Starting to work on test format

This commit is contained in:
Will Marshall
2014-05-01 15:51:40 +10:00
parent 8a5b93ace9
commit 2ff2d3dcbd
3 changed files with 94 additions and 93 deletions

View File

@@ -1,4 +1,8 @@
module ShopWorkflow
def set_order(order)
ApplicationController.any_instance.stub(:session).and_return({order_id: order.id, access_token: order.token})
end
def select_distributor
# If no order cycles are available this is much faster
visit "/"