features-skeleton/support/01_launch.rb in testautoi-0.9.143 vs features-skeleton/support/01_launch.rb in testautoi-0.9.144
- old
+ new
@@ -40,7 +40,9 @@
end
end
at_exit do
launcher = Calabash::Cucumber::Launcher.new
- Calabash::Cucumber::SimulatorHelper.stop unless launcher.calabash_no_stop?
+ if launcher.simulator_target?
+ Calabash::Cucumber::SimulatorHelper.stop unless launcher.calabash_no_stop?
+ end
end