[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

Luke Kanies luke at madstop.com
Fri Jan 23 14:21:54 UTC 2009


The following commit has been merged in the master branch:
commit 278bfe83015312292360f727d6532a143610db0d
Author: Luke Kanies <luke at madstop.com>
Date:   Tue Dec 2 00:09:48 2008 -0600

    Fixing mcx test failures (only happened sometimes).
    
    Signed-off-by: Luke Kanies <luke at madstop.com>

diff --git a/spec/unit/type/mcx.rb b/spec/unit/type/mcx.rb
index 3195e4e..8016377 100755
--- a/spec/unit/type/mcx.rb
+++ b/spec/unit/type/mcx.rb
@@ -55,7 +55,7 @@ describe mcx_type, "default values" do
 
     before :each do
         provider_class = mcx_type.provider(mcx_type.providers[0])
-        mcx_type.expects(:defaultprovider).returns provider_class
+        mcx_type.stubs(:defaultprovider).returns provider_class
     end
 
     after :each do
@@ -80,7 +80,7 @@ describe mcx_type, "when validating properties" do
 
     before :each do
         provider_class = mcx_type.provider(mcx_type.providers[0])
-        mcx_type.expects(:defaultprovider).returns provider_class
+        mcx_type.stubs(:defaultprovider).returns provider_class
     end
 
     after :each do

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list