We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Dir.exist?
Dir.exists?
1 parent 92a3c8d commit a8bf335Copy full SHA for a8bf335
railties/lib/rails/test_unit/runner.rb
@@ -63,7 +63,7 @@ def self.parse(args)
63
options[:line] &&= options[:line].to_i
64
else
65
arg = arg.gsub(':', '')
66
- if Dir.exists?("#{arg}")
+ if Dir.exist?("#{arg}")
67
options[:patterns] << File.expand_path("#{arg}/**/*_test.rb")
68
elsif File.file?(arg)
69
options[:patterns] << File.expand_path(arg)
0 commit comments