test/test_constants.rb in sleepy_penguin-3.4.1 vs test/test_constants.rb in sleepy_penguin-3.5.0
- old
+ new
@@ -1,10 +1,8 @@
-require './test/helper'
-$-w = true
-Thread.abort_on_exception = true
require 'sleepy_penguin/sp'
+require_relative 'helper'
-class TestConstants < Testcase
+class TestConstants < Test::Unit::TestCase
def test_constants
assert_equal SleepyPenguin::SLEEPY_PENGUIN_VERSION,
SP::SLEEPY_PENGUIN_VERSION
v = SP::SLEEPY_PENGUIN_VERSION.split('.')