aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_help.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-28 16:17:37 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-31 13:57:24 -0300
commit5da4d5142a60edda0cb78071553993ee33bb8637 (patch)
tree7c9f025bb50cd918c176a429749d221caa27802e /railties/lib/rails/test_help.rb
parenteb4930e3c724cf71d6ce5bb2aec4af82b2025b03 (diff)
downloadrails-5da4d5142a60edda0cb78071553993ee33bb8637.tar.gz
rails-5da4d5142a60edda0cb78071553993ee33bb8637.tar.bz2
rails-5da4d5142a60edda0cb78071553993ee33bb8637.zip
Add active_support/testing/autorun
minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails
Diffstat (limited to 'railties/lib/rails/test_help.rb')
-rw-r--r--railties/lib/rails/test_help.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb
index aed7fd4b14..616206dd0b 100644
--- a/railties/lib/rails/test_help.rb
+++ b/railties/lib/rails/test_help.rb
@@ -2,7 +2,7 @@
# so fixtures aren't loaded into that environment
abort("Abort testing: Your Rails environment is running in production mode!") if Rails.env.production?
-require 'minitest/autorun'
+require 'active_support/testing/autorun'
require 'active_support/test_case'
require 'action_controller/test_case'
require 'action_dispatch/testing/integration'