summaryrefslogtreecommitdiffstats
path: root/test/other
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-08 09:23:34 -0600
committerLuke Kanies <luke@madstop.com>2008-01-08 09:23:34 -0600
commit3cc3e0f5b21deee4fbdbcbae18fba47c7a0cbb1e (patch)
tree2d47761110c458f175f6483f0424a959cbcb3f34 /test/other
parentfe9b453650755e66e29eca259075e2e7245a5219 (diff)
Lots o' bug-fixes toward getting rid of global resources.
We still have about 60 failing tests, but some of them are the failing directory service tests (probably 20 or so), and most are simple fixes to the tests themselves.
Diffstat (limited to 'test/other')
-rwxr-xr-xtest/other/relationships.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/other/relationships.rb b/test/other/relationships.rb
index bf83caf4a..dd51e3165 100755
--- a/test/other/relationships.rb
+++ b/test/other/relationships.rb
@@ -166,6 +166,7 @@ class TestRelationships < Test::Unit::TestCase
exec = Puppet::Type.newexec(:title => "myexec", :cwd => path,
:command => "/bin/echo")
+ catalog = mk_catalog(file, exec)
reqs = nil
assert_nothing_raised do
reqs = exec.autorequire
@@ -176,7 +177,6 @@ class TestRelationships < Test::Unit::TestCase
# Now make sure that these relationships are added to the
# relationship graph
- config = mk_catalog(file, exec)
config.apply do |trans|
assert(config.relationship_graph.edge?(file, exec), "autorequire edge was not created")
end