diff options
| author | Ken Dreyer <ktdreyer@ktdreyer.com> | 2014-04-08 11:53:20 -0500 |
|---|---|---|
| committer | Ken Dreyer <ktdreyer@ktdreyer.com> | 2014-04-08 16:38:06 -0500 |
| commit | bfa5a3e681ee1dad18a0bd800f01255065be81c7 (patch) | |
| tree | 638966ce910b8e99dba79e2d963b185e27219f0b /Rakefile | |
| parent | 402273b05f0e48ae4c26a977583c613b6a664f87 (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-- | Rakefile | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |
