summaryrefslogtreecommitdiffstats
path: root/test/network/client/master.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-03-19 10:56:22 -0500
committerLuke Kanies <luke@madstop.com>2008-03-19 10:56:22 -0500
commit2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94 (patch)
tree41aceee8d69e96a3bec93086ecb444dfde1db081 /test/network/client/master.rb
parenta40e9b7dc58eef2e965e81f6c7be2dc7c14910d9 (diff)
downloadpuppet-2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94.tar.gz
puppet-2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94.tar.xz
puppet-2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94.zip
fixing another failing test
Diffstat (limited to 'test/network/client/master.rb')
-rwxr-xr-xtest/network/client/master.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/network/client/master.rb b/test/network/client/master.rb
index 41796575f..28e7b8968 100755
--- a/test/network/client/master.rb
+++ b/test/network/client/master.rb
@@ -349,6 +349,8 @@ end
File.open(source, "w") { |f| f.puts "something" }
dest = tempfile
Puppet[:noop] = true
+ node = stub 'node', :environment => "development"
+ Puppet::Node.stubs(:find).returns node
assert_nothing_raised("Could not download in noop") do
@master.download(:dest => dest, :source => source, :tag => "yay")
end