We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47f1790 commit 510a2a6Copy full SHA for 510a2a6
android_tests/lib/run.rb
@@ -32,15 +32,15 @@
32
trace_files = []
33
34
if one_test
35
- unless File.exists? one_test
+ unless File.exist? one_test
36
# ensure ext is .rb
37
one_test = File.join(File.dirname(one_test),
38
File.basename(one_test, '.*') + '.rb')
39
one_test = File.join(dir, test_dir + 'specs/', one_test)
40
else
41
one_test = File.expand_path one_test
42
end
43
- raise "\nTest #{one_test} does not exist.\n" unless File.exists?(one_test)
+ raise "\nTest #{one_test} does not exist.\n" unless File.exist?(one_test)
44
Appium::Driver.new(caps).start_driver
45
# require support (common.rb)
46
Dir.glob(File.join dir, test_dir + '/*.rb') do |test|
0 commit comments