Permalink
Browse files

make work bin/test scripts with line filter

`Rails::LineFiltering` is not automatically loaded, need to load it explicitly.
Ref: 797f1dd, b6f935b
  • Loading branch information...
1 parent 86ca5b2 commit 2047877f4ed31168317948a848b25a5c36f32c7b @y-yagi y-yagi committed Dec 17, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 tools/test.rb
View
@@ -4,6 +4,8 @@
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 @@ def self.root
end
end
+ActiveSupport::TestCase.extend Rails::LineFiltering
Rails::TestUnitReporter.executable = "bin/test"
Minitest.run_via[:rails] = true
require "active_support/testing/autorun"

0 comments on commit 2047877

Please sign in to comment.