about summary refs log tree commit homepage
path: root/test/test_constants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_constants.rb')
-rw-r--r--test/test_constants.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_constants.rb b/test/test_constants.rb
index 4e0c90b..a15ae5e 100644
--- a/test/test_constants.rb
+++ b/test/test_constants.rb
@@ -1,9 +1,7 @@
-require './test/helper'
-$-w = true
-Thread.abort_on_exception = true
+require_relative 'helper'
 require 'sleepy_penguin/sp'
 
-class TestConstants < Testcase
+class TestConstants < Test::Unit::TestCase
   def test_constants
     assert_equal SleepyPenguin::SLEEPY_PENGUIN_VERSION,
                  SP::SLEEPY_PENGUIN_VERSION