From 3f2e861da767565e334fc824b9dc252f1978833b Mon Sep 17 00:00:00 2001 From: Michael Grosser Date: Fri, 23 Sep 2016 17:26:43 -0700 Subject: switch to autorun to support after_run and patch less --- railties/lib/rails/commands/test.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'railties/lib/rails/commands') diff --git a/railties/lib/rails/commands/test.rb b/railties/lib/rails/commands/test.rb index f4699b0347..03884a073a 100644 --- a/railties/lib/rails/commands/test.rb +++ b/railties/lib/rails/commands/test.rb @@ -6,6 +6,4 @@ else $LOAD_PATH << File.expand_path("../../test", APP_PATH) end -result = Minitest.run(ARGV) -Minitest.class_variable_get(:@@after_run).reverse_each(&:call) -exit result +require "minitest/autorun" -- cgit v1.2.3