Skip to content

Commit

Permalink
Modify app launch steps to allow testing on physical device
Browse files Browse the repository at this point in the history
  • Loading branch information
moredip committed May 18, 2011
1 parent 2f2be58 commit db7e4df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions example/CountItOut/features/step_definitions/launch_steps.rb
@@ -1,6 +1,10 @@
Given /^I the app is launched$/ do def running_on_device
Frank::USING_PHYSICAL_DEVICE
end

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 # 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' require 'sim_launcher'


Expand Down

0 comments on commit db7e4df

Please sign in to comment.