lib/scan/runner.rb in scan-0.7.0 vs lib/scan/runner.rb in scan-0.7.1
- old
+ new
@@ -13,10 +13,10 @@
# We call this method, to be sure that all other simulators are killed
# And a correct one is freshly launched. Switching between multiple simulator
# in case the user specified multiple targets works with no issues
# This way it's okay to just call it for the first simulator we're using for
# the first test run
- open_simulator_for_device(Scan.devices.first)
+ open_simulator_for_device(Scan.devices.first) if Scan.devices
command = TestCommandGenerator.generate
prefix_hash = [
{
prefix: "Running Tests: ",