summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-26 21:45:02 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-26 21:45:02 +0000
commitee34216a8cd7b568d4e79bdde02603329d8982ae (patch)
tree4f642ce5634d5796b81b9a5458c5f0260ffeb708
parent45248e74e424715c51c0d14e958fd3a9995ba572 (diff)
Added gem activation for minitest/autoload to help users keep current
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/minitest/autorun.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/minitest/autorun.rb b/lib/minitest/autorun.rb
index 3b6c2d4..6317c22 100644
--- a/lib/minitest/autorun.rb
+++ b/lib/minitest/autorun.rb
@@ -4,6 +4,12 @@
# File a patch instead and assign it to Ryan Davis.
######################################################################
+begin
+ gem 'minitest'
+rescue Gem::LoadError
+ # do nothing
+end
+
require 'minitest/unit'
require 'minitest/spec'
require 'minitest/mock'