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.
2 parents bfd7355 + a8bf335 commit 3064533Copy full SHA for 3064533
railties/lib/rails/test_unit/runner.rb
@@ -62,7 +62,7 @@ def self.parse(args)
62
options[:line] &&= options[:line].to_i
63
else
64
arg = arg.gsub(':', '')
65
- if Dir.exists?("#{arg}")
+ if Dir.exist?("#{arg}")
66
options[:patterns] << File.expand_path("#{arg}/**/*_test.rb")
67
elsif File.file?(arg)
68
options[:patterns] << File.expand_path(arg)
0 commit comments