features-skeleton/support/launch.rb in calabash-cucumber-0.9.22 vs features-skeleton/support/launch.rb in calabash-cucumber-0.9.23
- old
+ new
@@ -31,10 +31,10 @@
#APP_BUNDLE_PATH = "~/Library/Developer/Xcode/DerivedData/??/Build/Products/Calabash-iphonesimulator/??.app""
#
def relaunch
if ENV['NO_LAUNCH'].nil?
- Calabash::Cucumber::SimulatorHelper.relaunch(app_path,ENV['SDK_VERSION'],ENV['DEVICE'])
+ Calabash::Cucumber::SimulatorHelper.relaunch(app_path,ENV['SDK_VERSION'],ENV['DEVICE'] || 'iphone')
end
end
def app_path
\ No newline at end of file