diff options
Diffstat (limited to 'railties/lib/rails/commands/test')
-rw-r--r-- | railties/lib/rails/commands/test/test_command.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/test/test_command.rb b/railties/lib/rails/commands/test/test_command.rb index 395edca933..1b2e3af9cc 100644 --- a/railties/lib/rails/commands/test/test_command.rb +++ b/railties/lib/rails/commands/test/test_command.rb @@ -11,7 +11,9 @@ module Rails def perform(*) $LOAD_PATH << Rails::Command.root.join("test") - exit Minitest.run(ARGV) + Minitest.run_via[:rails] = true + + require "active_support/testing/autorun" end end end |