aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorOleg Sukhodolsky <os97673@gmail.com>2015-08-03 08:11:49 +0300
committerOleg Sukhodolsky <os97673@gmail.com>2015-08-03 08:11:49 +0300
commit72bc400c9b475909cd2f888399f03c0640e50ab9 (patch)
tree6eb9318d425ccbcdcee073dcf2b93982da61301d /railties/lib/rails
parent31ee9c0036f691f9206da24af1ffd4695b7b157a (diff)
downloadrails-72bc400c9b475909cd2f888399f03c0640e50ab9.tar.gz
rails-72bc400c9b475909cd2f888399f03c0640e50ab9.tar.bz2
rails-72bc400c9b475909cd2f888399f03c0640e50ab9.zip
Allow Minitest to load plugins. Fixes #21102
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/test_unit/minitest_plugin.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/test_unit/minitest_plugin.rb b/railties/lib/rails/test_unit/minitest_plugin.rb
index ab71298509..5552779ef1 100644
--- a/railties/lib/rails/test_unit/minitest_plugin.rb
+++ b/railties/lib/rails/test_unit/minitest_plugin.rb
@@ -48,4 +48,5 @@ module Minitest
mattr_accessor(:run_with_rails_extension) { false }
end
+Minitest.load_plugins
Minitest.extensions << 'rails'