diff options
author | Luke Kanies <luke@madstop.com> | 2008-03-19 10:56:22 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-03-19 10:56:22 -0500 |
commit | 2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94 (patch) | |
tree | 41aceee8d69e96a3bec93086ecb444dfde1db081 /test | |
parent | a40e9b7dc58eef2e965e81f6c7be2dc7c14910d9 (diff) | |
download | puppet-2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94.tar.gz puppet-2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94.tar.xz puppet-2795ba47ccb25ec0a081f1d2b4ef6f2de4ccaf94.zip |
fixing another failing test
Diffstat (limited to 'test')
-rwxr-xr-x | test/network/client/master.rb | 2 |
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 |