diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-12-19 19:09:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 19:09:14 +0100 |
commit | 1655b32dcea1f7e2ed80fa25296f4001477ecf14 (patch) | |
tree | 0fb56c55ea0bc5471cb6a617f59b485948993d63 /tools | |
parent | f5d1eb669a03ac2ca523461ae9a80f02e1ac56e8 (diff) | |
parent | 2047877f4ed31168317948a848b25a5c36f32c7b (diff) | |
download | rails-1655b32dcea1f7e2ed80fa25296f4001477ecf14.tar.gz rails-1655b32dcea1f7e2ed80fa25296f4001477ecf14.tar.bz2 rails-1655b32dcea1f7e2ed80fa25296f4001477ecf14.zip |
Merge pull request #27391 from y-yagi/make_work_test_tool_with_line_filter
make work bin/test scripts with line filter
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/test.rb b/tools/test.rb index 824ee57c96..ce546b382d 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -4,6 +4,8 @@ require "bundler" Bundler.setup require "rails/test_unit/minitest_plugin" +require "rails/test_unit/line_filtering" +require "active_support/test_case" module Rails # Necessary to get rerun-snippts working. @@ -12,6 +14,7 @@ module Rails end end +ActiveSupport::TestCase.extend Rails::LineFiltering Rails::TestUnitReporter.executable = "bin/test" Minitest.run_via[:rails] = true require "active_support/testing/autorun" |