summaryrefslogtreecommitdiff
path: root/test/psych/test_object.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_object.rb
parenta19b96529c9bce6f1fade726e6613f549f22dfad (diff)
downloadpsych-47c4176ce9a349bac0417ebada7690babf79b2a5.zip
adding a test helper superclass
Diffstat (limited to 'test/psych/test_object.rb')
-rw-r--r--test/psych/test_object.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/psych/test_object.rb b/test/psych/test_object.rb
index 51f7ab4..fd86c62 100644
--- a/test/psych/test_object.rb
+++ b/test/psych/test_object.rb
@@ -1,5 +1,4 @@
-require 'minitest/autorun'
-require 'psych'
+require 'test/psych/helper'
module Psych
class Tagged
@@ -12,7 +11,7 @@ module Psych
end
end
- class TestObject < MiniTest::Unit::TestCase
+ class TestObject < TestCase
def test_dump_with_tag
tag = Tagged.new
assert_match('foo', Psych.dump(tag))