summaryrefslogtreecommitdiffstats
path: root/test/util
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-01 21:08:45 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-01 21:08:45 +0000
commit3b2521b3cc3b647c7c421bf1d93d5967234e8676 (patch)
tree1f287e818b60ba9620387e38e13833efbb8f7763 /test/util
parent54a838e68e52b2eac353d70cb9281ca75d741839 (diff)
downloadpuppet-3b2521b3cc3b647c7c421bf1d93d5967234e8676.tar.gz
puppet-3b2521b3cc3b647c7c421bf1d93d5967234e8676.tar.xz
puppet-3b2521b3cc3b647c7c421bf1d93d5967234e8676.zip
Fixing graphing tests, and correctly only using storeconfigs in tests where rails is available
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2009 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/util')
-rwxr-xr-xtest/util/graph.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/util/graph.rb b/test/util/graph.rb
index 7d43ed6f9..875fd0ec3 100755
--- a/test/util/graph.rb
+++ b/test/util/graph.rb
@@ -34,7 +34,7 @@ class TestUtilGraph < Test::Unit::TestCase
end
def test_recursive_to_graph
- one, two, middle, top = build_tree
+ one, two, three, middle, top = build_tree
graph = nil
assert_nothing_raised do
@@ -52,9 +52,10 @@ class TestUtilGraph < Test::Unit::TestCase
end
# Now make sure we correctly retrieve the leaves from each container
- {top => %w{a b c d e f g h},
+ {top => %w{a b c d e f g h i j},
one => %w{a b},
two => %w{c d},
+ three => %w{i j},
middle => %w{c d e f}}.each do |cont, list|
leaves = nil
assert_nothing_raised do