summaryrefslogtreecommitdiff
path: root/test/visitors
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2009-11-17 19:47:29 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2009-11-17 19:47:29 -0800
commitccc1107595545a7947080d919529102d3e8c6dfe (patch)
treed284d0effaa7428fd2ea2c1b76315ff2734c56a2 /test/visitors
parentbffb39d682675904158f43bfafebace0c50ed879 (diff)
downloadpsych-ccc1107595545a7947080d919529102d3e8c6dfe.zip
renaming YASTBuilder -> YAMLTree
Diffstat (limited to 'test/visitors')
-rw-r--r--test/visitors/test_yaml_tree.rb (renamed from test/visitors/test_yast_builder.rb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/visitors/test_yast_builder.rb b/test/visitors/test_yaml_tree.rb
index 8645a4d..5570204 100644
--- a/test/visitors/test_yast_builder.rb
+++ b/test/visitors/test_yaml_tree.rb
@@ -3,9 +3,9 @@ require 'psych'
module Psych
module Visitors
- class TestYASTBuilder < MiniTest::Unit::TestCase
+ class TestYAMLTree < MiniTest::Unit::TestCase
def setup
- @v = Visitors::YASTBuilder.new
+ @v = Visitors::YAMLTree.new
end
def test_object_has_no_class
@@ -154,7 +154,7 @@ module Psych
end
def assert_round_trip obj
- v = Visitors::YASTBuilder.new
+ v = Visitors::YAMLTree.new
v.accept(obj)
assert_equal(obj, Psych.load(v.tree.to_yaml))
assert_equal(obj, Psych.load(obj.to_yaml))