aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-10-21 14:44:17 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2016-10-21 14:44:17 -0700
commitb6f935bbf9b8470b370ea613dc61218849aabf89 (patch)
tree74787a9bcb7eb891e06398f82cc88989ed8550cc /railties/lib/rails/commands/test
parent797f1dd63c68eb44c1af358d377cfef271e685c5 (diff)
downloadrails-b6f935bbf9b8470b370ea613dc61218849aabf89.tar.gz
rails-b6f935bbf9b8470b370ea613dc61218849aabf89.tar.bz2
rails-b6f935bbf9b8470b370ea613dc61218849aabf89.zip
Use `on_load` to trigger commandline processing code
We need to use on_load so that plugins will get the same functionality
Diffstat (limited to 'railties/lib/rails/commands/test')
-rw-r--r--railties/lib/rails/commands/test/test_command.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/railties/lib/rails/commands/test/test_command.rb b/railties/lib/rails/commands/test/test_command.rb
index e97b9cbbba..1b2e3af9cc 100644
--- a/railties/lib/rails/commands/test/test_command.rb
+++ b/railties/lib/rails/commands/test/test_command.rb
@@ -1,6 +1,5 @@
require "rails/command"
require "rails/test_unit/minitest_plugin"
-require "rails/test_unit/line_filtering"
module Rails
module Command
@@ -12,10 +11,6 @@ module Rails
def perform(*)
$LOAD_PATH << Rails::Command.root.join("test")
- # Add test line filtering support for running test by line number
- # via the command line.
- ActiveSupport::TestCase.extend Rails::LineFiltering
-
Minitest.run_via[:rails] = true
require "active_support/testing/autorun"