summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLee Jarvis <ljjarvis@gmail.com>2013-05-13 10:02:25 +0100
committerLee Jarvis <ljjarvis@gmail.com>2013-05-13 10:02:25 +0100
commitf4bc8c10476a8f4fe350c9946467752e628fcc47 (patch)
tree16a408f05708cd30c15269274757a131a790e1d1 /test
parent5f505357ca63d338fe6456d7f10b9212f0ef235c (diff)
downloadslop-f4bc8c10476a8f4fe350c9946467752e628fcc47.tar.gz
rename MiniTest::Unit::TestCase to new Minitest::Test
Diffstat (limited to 'test')
-rw-r--r--test/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.rb b/test/helper.rb
index d91257a..e6ec32f 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -5,7 +5,7 @@ require 'slop'
require 'minitest/autorun'
require 'stringio'
-class TestCase < MiniTest::Unit::TestCase
+class TestCase < Minitest::Test
def self.test(name, &block)
define_method("test_#{name.gsub(/\W/, '_')}", &block) if block
end