[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
Markus Roberts
Markus at reality.com
Wed Jul 14 10:35:18 UTC 2010
The following commit has been merged in the upstream branch:
commit f95169b144f7c549b6dec197942c85a62ebd047c
Author: Matt Robinson <matt at puppetlabs.com>
Date: Tue Jun 15 15:33:01 2010 -0700
[#4006] Fix test failures caused by reverting ticket 2890
When Markus reverted changes made by 2890 he reintroduced a
method certificate_matches_key? that then caused failures in
network/xmlrpc/client.rb. I just stubbed that method to return true
since the failing tests weren't trying to test that methods behavior.
Reviewed-by: Markus Roberts
diff --git a/spec/unit/network/xmlrpc/client_spec.rb b/spec/unit/network/xmlrpc/client_spec.rb
index 328688b..1b97583 100755
--- a/spec/unit/network/xmlrpc/client_spec.rb
+++ b/spec/unit/network/xmlrpc/client_spec.rb
@@ -5,9 +5,9 @@ Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f
describe Puppet::Network::XMLRPCClient do
describe "when performing the rpc call" do
before do
+ Puppet::SSL::Host.any_instance.stubs(:certificate_matches_key?).returns true
@client = Puppet::Network::Client.report.xmlrpc_client.new
@client.stubs(:call).returns "foo"
-
end
it "should call the specified namespace and method, with the specified arguments" do
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list