[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Matt Robinson matt at puppetlabs.com
Wed Jul 14 10:35:21 UTC 2010


The following commit has been merged in the upstream branch:
commit 15004f34cd8533575ba4f971decc09383f1b0cd0
Author: Matt Robinson <matt at puppetlabs.com>
Date:   Thu Jun 24 17:22:46 2010 -0700

    maint: Fix failing test that needed more methods stubbed

diff --git a/spec/unit/parser/compiler_spec.rb b/spec/unit/parser/compiler_spec.rb
index fa65479..67bfc37 100755
--- a/spec/unit/parser/compiler_spec.rb
+++ b/spec/unit/parser/compiler_spec.rb
@@ -293,9 +293,9 @@ describe Puppet::Parser::Compiler do
                 @compiler.add_resource(@scope, resource)
 
                 # And one that does not
-                dnf = stub "dnf", :ref => "File[dnf]", :type => "file"
+                dnf_resource = stub_everything "dnf", :ref => "File[dnf]", :type => "file"
 
-                @compiler.add_resource(@scope, dnf)
+                @compiler.add_resource(@scope, dnf_resource)
 
                 @compiler.send(:finish)
             end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list