[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Daniel Pittman daniel at rimspace.net
Tue May 10 08:05:48 UTC 2011


The following commit has been merged in the experimental branch:
commit ec23d96ebb165c05ffb7c4f68f08da47d530ee92
Author: Daniel Pittman <daniel at rimspace.net>
Date:   Thu Mar 3 11:04:44 2011 -0800

    (#6582) eliminate a backtrace from mismatched block arguments.
    
    This was tightly coupled to the code implementation; it mostly still is, but
    now allows argument extension without needing to adjust the test   which is
    only focused on the first argument anyhow.
    
    Reviewed-By: Nick Lewis <nick at puppetlabs.com>

diff --git a/spec/unit/parser/parser_spec.rb b/spec/unit/parser/parser_spec.rb
index f5df304..d5861d7 100755
--- a/spec/unit/parser/parser_spec.rb
+++ b/spec/unit/parser/parser_spec.rb
@@ -281,7 +281,7 @@ describe Puppet::Parser do
     it "should include docs when the AST class uses them" do
       @class.expects(:use_docs).returns true
       @class.stubs(:new)
-      @parser.expects(:ast_context).with{ |a| a[0] == true }.returns({})
+      @parser.expects(:ast_context).with{ |*a| a[0] == true }.returns({})
       @parser.ast(@class, :file => "/bar")
     end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list