diff options
author | Lee Jarvis <ljjarvis@gmail.com> | 2013-05-13 10:02:25 +0100 |
---|---|---|
committer | Lee Jarvis <ljjarvis@gmail.com> | 2013-05-13 10:02:25 +0100 |
commit | f4bc8c10476a8f4fe350c9946467752e628fcc47 (patch) | |
tree | 16a408f05708cd30c15269274757a131a790e1d1 /test | |
parent | 5f505357ca63d338fe6456d7f10b9212f0ef235c (diff) | |
download | slop-f4bc8c10476a8f4fe350c9946467752e628fcc47.tar.gz |
rename MiniTest::Unit::TestCase to new Minitest::Test
Diffstat (limited to 'test')
-rw-r--r-- | test/helper.rb | 2 |
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 |