diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/test.rb b/railties/lib/rails/commands/test.rb index 03884a073a..0ce2dd19b7 100644 --- a/railties/lib/rails/commands/test.rb +++ b/railties/lib/rails/commands/test.rb @@ -1,9 +1,8 @@ require "rails/test_unit/minitest_plugin" +require "active_support/testing/autorun" if defined?(ENGINE_ROOT) $LOAD_PATH << File.expand_path("test", ENGINE_ROOT) else $LOAD_PATH << File.expand_path("../../test", APP_PATH) end - -require "minitest/autorun" |