From 2047877f4ed31168317948a848b25a5c36f32c7b Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 17 Dec 2016 17:57:43 +0900 Subject: make work bin/test scripts with line filter `Rails::LineFiltering` is not automatically loaded, need to load it explicitly. Ref: 797f1dd, b6f935b --- tools/test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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" -- cgit v1.2.3