summaryrefslogtreecommitdiff
path: root/test/psych/test_exception.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-03-26 23:28:42 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-03-26 23:28:42 -0700
commit47c4176ce9a349bac0417ebada7690babf79b2a5 (patch)
treef002b4c26ed61007ca1a54b965358ea4aeb5b661 /test/psych/test_exception.rb
parenta19b96529c9bce6f1fade726e6613f549f22dfad (diff)
downloadpsych-47c4176ce9a349bac0417ebada7690babf79b2a5.zip
adding a test helper superclass
Diffstat (limited to 'test/psych/test_exception.rb')
-rw-r--r--test/psych/test_exception.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/psych/test_exception.rb b/test/psych/test_exception.rb
index b4d821e..efc5747 100644
--- a/test/psych/test_exception.rb
+++ b/test/psych/test_exception.rb
@@ -1,8 +1,7 @@
-require 'minitest/autorun'
-require 'psych'
+require 'test/psych/helper'
module Psych
- class TestException < MiniTest::Unit::TestCase
+ class TestException < TestCase
class Wups < Exception
attr_reader :foo, :bar
def initialize *args
@@ -13,6 +12,7 @@ module Psych
end
def setup
+ super
@wups = Wups.new
end