diff options
-rwxr-xr-x | spec/unit/network/xmlrpc/client.rb | 2 | ||||
-rwxr-xr-x | spec/unit/ral/types/service.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/network/xmlrpc/client.rb b/spec/unit/network/xmlrpc/client.rb index e20c66c25..b6ab4b367 100755 --- a/spec/unit/network/xmlrpc/client.rb +++ b/spec/unit/network/xmlrpc/client.rb @@ -14,7 +14,7 @@ describe Puppet::Network::XMLRPCClient, " when managing http instances" do end it "should enable ssl on the http instance" do - Puppet::Network::XMLRPCClient.http_instance("me", 54321).use_ssl.should be_true + Puppet::Network::XMLRPCClient.http_instance("me", 54321).instance_variable_get("@use_ssl").should be_true end it "should set the read timeout" do diff --git a/spec/unit/ral/types/service.rb b/spec/unit/ral/types/service.rb index ee3d747a8..981d38a15 100755 --- a/spec/unit/ral/types/service.rb +++ b/spec/unit/ral/types/service.rb @@ -206,7 +206,7 @@ describe Puppet::Type::Service, "when changing the host" do @service.property(:enable).expects(:insync?).returns(false) @service.property(:enable).expects(:sync) - @provider.stubs(:stop) + @service.provider.stubs(:stop) @service.property(:ensure).sync end |