aboutsummaryrefslogtreecommitdiffstats
path: root/test/psych/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/helper.rb')
-rw-r--r--test/psych/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/helper.rb b/test/psych/helper.rb
index fd23c3be07..f5800303fd 100644
--- a/test/psych/helper.rb
+++ b/test/psych/helper.rb
@@ -33,7 +33,7 @@ module Psych
def assert_cycle( obj )
v = Visitors::YAMLTree.new
v << obj
- assert_equal(obj, Psych.load(v.tree.to_yaml))
+ assert_equal(obj, Psych.load(v.tree.yaml))
assert_equal( obj, Psych::load(Psych.dump(obj)))
assert_equal( obj, Psych::load( obj.psych_to_yaml ) )
end