Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modify app launch steps to allow testing on physical device

  • Loading branch information...
commit db7e4dff8d6472a69db187d59886ff3a7a150b33 1 parent 2f2be58
@moredip authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 example/CountItOut/features/step_definitions/launch_steps.rb
View
8 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
- return if running_on_device
+ next if running_on_device
require 'sim_launcher'
Please sign in to comment.
Something went wrong with that request. Please try again.