diff options
-rw-r--r-- | railties/lib/rails/commands/test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/test.rb b/railties/lib/rails/commands/test.rb index 5c997336a0..cd1192eb6e 100644 --- a/railties/lib/rails/commands/test.rb +++ b/railties/lib/rails/commands/test.rb @@ -10,7 +10,7 @@ $runner = Rails::TestRunner.new(options) def Minitest.plugin_rails_init(options) self.reporter << Rails::TestUnitReporter.new(options[:io], options) if method = $runner.find_method - options[:filter] = "/^(#{method})$/" + options[:filter] = method end end Minitest.extensions << 'rails' |