Browse files

Modify app launch steps to allow testing on physical device

  • Loading branch information...
moredip committed May 18, 2011
1 parent 2f2be58 commit db7e4dff8d6472a69db187d59886ff3a7a150b33
Showing with 6 additions and 2 deletions.
  1. +6 −2 example/CountItOut/features/step_definitions/launch_steps.rb
@@ -1,6 +1,10 @@
-Given /^I the app is launched$/ do
+def running_on_device
+Given /^the app is launched$/ do
# when running tests on the device we don't want to do anything, we just expect the app to be up and running
- return if running_on_device
+ next if running_on_device
require 'sim_launcher'

0 comments on commit db7e4df

Please sign in to comment.