From ecb873d3a6d2eabc931457bd8f4c185c990976db Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 13 Mar 2008 12:36:21 -0500 Subject: Fixing #1118 -- downloading plugins and facts now ignores noop. Note that this changes the behaviour a bit -- the resource's noop setting always beats the global setting (previously, whichever was true would win). --- test/ral/manager/type.rb | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'test') diff --git a/test/ral/manager/type.rb b/test/ral/manager/type.rb index 324550acb..c6efe4f00 100755 --- a/test/ral/manager/type.rb +++ b/test/ral/manager/type.rb @@ -678,22 +678,6 @@ class TestType < Test::Unit::TestCase assert_equal("Exec[yay]", exec.ref) end - def test_noop_metaparam - file = Puppet::Type.newfile :path => tempfile - assert(!file.noop, "file incorrectly in noop") - - assert_nothing_raised do - file[:noop] = true - end - assert(file.noop, "file should be in noop") - - # Now set the main one - Puppet[:noop] = true - assert(file.noop, "file should be in noop") - file[:noop] = false - assert(file.noop, "file should be in noop") - end - def test_path config = mk_catalog -- cgit