diff options
author | Arthur Neves <arthurnn@gmail.com> | 2015-01-23 16:25:38 -0500 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-03-18 09:52:16 +0100 |
commit | cf7ba1fbbd9801b4514b12b2be1242b15c27b550 (patch) | |
tree | 09f2341bb32fcf699e607b2432cf7d93b58c31d9 /railties/lib | |
parent | 5d934caabbf339dccba2837d686ce9ac73a1eeb0 (diff) | |
download | rails-cf7ba1fbbd9801b4514b12b2be1242b15c27b550.tar.gz rails-cf7ba1fbbd9801b4514b12b2be1242b15c27b550.tar.bz2 rails-cf7ba1fbbd9801b4514b12b2be1242b15c27b550.zip |
no need to escape the method in a regex wrap, minitest does that for us
Diffstat (limited to 'railties/lib')
-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' |