summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2014-04-08 11:53:20 -0500
committerKen Dreyer <ktdreyer@ktdreyer.com>2014-04-08 16:38:06 -0500
commitbfa5a3e681ee1dad18a0bd800f01255065be81c7 (patch)
tree638966ce910b8e99dba79e2d963b185e27219f0b /Rakefile
parent402273b05f0e48ae4c26a977583c613b6a664f87 (diff)
tests: switch to minitest
Ruby 1.9+ uses Minitest as the backend for Test::Unit. As of Minitest 5, the shim no longer supports Test::Unit::TestCase. Adjust the test suite to support Minitest 5's syntax. Minitest versions 4 and below do not support the newer Minitest::Test class that arrived in version 5. For that case, use the MiniTest::Unit::TestCase class as a fallback.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 0b92a2e0..f1c08c55 100644
--- a/Rakefile
+++ b/Rakefile
@@ -24,9 +24,6 @@ begin
test.pattern = 'test/**/*_test.rb'
test.verbose = true
test.warning = true
- if RUBY_VERSION >= '2'
- test.options = '--tty=no'
- end
end
task :default => :test
rescue LoadError