summaryrefslogtreecommitdiff
path: root/test/lib/minitest/autorun.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/minitest/autorun.rb')
-rw-r--r--test/lib/minitest/autorun.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/lib/minitest/autorun.rb b/test/lib/minitest/autorun.rb
new file mode 100644
index 0000000000..cb4a3a0e5d
--- /dev/null
+++ b/test/lib/minitest/autorun.rb
@@ -0,0 +1,19 @@
+# encoding: utf-8
+######################################################################
+# This file is imported from the minitest project.
+# DO NOT make modifications in this repo. They _will_ be reverted!
+# File a patch instead and assign it to Ryan Davis.
+######################################################################
+
+begin
+ require 'rubygems'
+ gem 'minitest'
+rescue Gem::LoadError
+ # do nothing
+end
+
+require 'minitest/unit'
+require 'minitest/spec'
+require 'minitest/mock'
+
+MiniTest::Unit.autorun