summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-14 09:30:30 -0800
committerLuke Kanies <luke@madstop.com>2008-01-14 09:30:30 -0800
commit488c43771aea482e0212b605bde054bf8cb0533c (patch)
tree9be9df23afa85c49e3639871ac07abc4db36edc6 /test
parent5bef4a55b3489a6404ee34b900621af8b784749a (diff)
downloadpuppet-488c43771aea482e0212b605bde054bf8cb0533c.tar.gz
puppet-488c43771aea482e0212b605bde054bf8cb0533c.tar.xz
puppet-488c43771aea482e0212b605bde054bf8cb0533c.zip
Fixing automatic relationships. I was previously looking them
up in the relationship graph, which only stores the vertices, not the resource table.
Diffstat (limited to 'test')
-rw-r--r--test/lib/puppettest/support/utils.rb6
-rwxr-xr-xtest/ral/types/basic.rb5
2 files changed, 0 insertions, 11 deletions
diff --git a/test/lib/puppettest/support/utils.rb b/test/lib/puppettest/support/utils.rb
index cb4a6924c..b749c7931 100644
--- a/test/lib/puppettest/support/utils.rb
+++ b/test/lib/puppettest/support/utils.rb
@@ -42,12 +42,6 @@ module PuppetTest::Support::Utils
# stop any services that might be hanging around
def stopservices
- if stype = Puppet::Type.type(:service)
- stype.each { |service|
- service[:ensure] = :stopped
- service.evaluate
- }
- end
end
# TODO: rewrite this to use the 'etc' module.
diff --git a/test/ral/types/basic.rb b/test/ral/types/basic.rb
index daffabf58..e46d96d1c 100755
--- a/test/ral/types/basic.rb
+++ b/test/ral/types/basic.rb
@@ -40,11 +40,6 @@ class TestBasic < Test::Unit::TestCase
@config.add_edge! @component, @command
end
- def teardown
- super
- stopservices
- end
-
def test_values
[:ensure, :checksum].each do |param|
prop = @configfile.property(param)