summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Barnette <jbarnette@gmail.com>2009-09-28 11:44:11 -0700
committerJohn Barnette <jbarnette@gmail.com>2009-09-28 11:44:11 -0700
commita469ea7ffe371dd5e69f1d65485a06c5bc66e6fa (patch)
treea7c9f8ade6a6f2085407a5018a496e60155f852c /test
parent2d31ee3a64a37a1cedb24303351d8023b9a87143 (diff)
parentc9d59861da280f22b09aa67b44aace288569269d (diff)
downloadpsych-a469ea7ffe371dd5e69f1d65485a06c5bc66e6fa.zip
Merge branch 'master' of git@github.com:tenderlove/psych
Diffstat (limited to 'test')
-rw-r--r--test/visitors/test_to_ruby.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/visitors/test_to_ruby.rb b/test/visitors/test_to_ruby.rb
index 8cd29ac..0d2bbf4 100644
--- a/test/visitors/test_to_ruby.rb
+++ b/test/visitors/test_to_ruby.rb
@@ -11,6 +11,7 @@ module Psych
def test_scalar
scalar = Nodes::Scalar.new('foo')
assert_equal 'foo', @visitor.accept(scalar)
+ assert_equal 'foo', scalar.to_ruby
end
end
end