diff options
Diffstat (limited to 'test/other/relationships.rb')
-rwxr-xr-x | test/other/relationships.rb | 2 |
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 |