lib/calabash-android/operations.rb in calabash-android-0.4.11 vs lib/calabash-android/operations.rb in calabash-android-0.4.12

- old
+ new

@@ -400,11 +400,11 @@ @@screenshot_count += 1 path end def adb_command - "#{Env.adb} -s #{serial}" + "#{Env.adb_path} -s #{serial}" end def default_serial devices = connected_devices log "connected_devices: #{devices}" @@ -437,10 +437,10 @@ def server_port_configuration File.expand_path(ENV['CALABASH_SERVER_PORTS'] || "~/.calabash.yaml") end def connected_devices - lines = `#{Env.adb} devices`.split("\n") + lines = `#{Env.adb_path} devices`.split("\n") lines.shift lines.collect { |l| l.split("\t").first} end def wake_up