[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Luke Kanies
luke at puppetlabs.com
Tue May 10 08:15:25 UTC 2011
The following commit has been merged in the experimental branch:
commit 155b16d8de26e5b672202522ef194c6571ec7610
Author: Luke Kanies <luke at puppetlabs.com>
Date: Thu Apr 14 17:05:36 2011 -0700
Fixing a failing test resulting from a fixed bug
We were not correctly pulling request attributes out in all
cases, but now we do, which caused this test to start failing.
We special case the 'ip' attribute in the test now.
Reviewed-by: Daniel Pittman <daniel at puppetlabs.com>
Signed-off-by: Luke Kanies <luke at puppetlabs.com>
diff --git a/spec/unit/indirector/rest_spec.rb b/spec/unit/indirector/rest_spec.rb
index 513eb83..5637080 100755
--- a/spec/unit/indirector/rest_spec.rb
+++ b/spec/unit/indirector/rest_spec.rb
@@ -233,6 +233,11 @@ describe Puppet::Indirector::REST do
params[s] = 'foo'
end
+ # The request special-cases this parameter, and it
+ # won't be passed on to the server, so we remove it here
+ # to avoid a failure.
+ params.delete('ip')
+
@request = Puppet::Indirector::Request.new(:foo, :find, "foo bar", params.merge(:environment => "myenv"))
@connection.expects(:post).with do |uri, body|
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list