From 47c4176ce9a349bac0417ebada7690babf79b2a5 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 26 Mar 2010 23:28:42 -0700 Subject: adding a test helper superclass --- test/psych/test_exception.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/psych/test_exception.rb') 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 -- cgit v1.2.3