[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5-303-gfcfa26a

Daniel Pittman daniel at rimspace.net
Thu Mar 17 10:46:13 UTC 2011


The following commit has been merged in the upstream branch:
commit b5b5923bf41196f5e72a69bfa627120c75732fe5
Author: Daniel Pittman <daniel at rimspace.net>
Date:   Sat Feb 12 11:44:19 2011 -0800

    misc: ast_context has two arguments, not one.
    
    This updates the spec expectation to reflect that, eliminating a warning
    during the spec run.

diff --git a/spec/unit/parser/parser_spec.rb b/spec/unit/parser/parser_spec.rb
index 9aab6a7..2f5d4b8 100755
--- a/spec/unit/parser/parser_spec.rb
+++ b/spec/unit/parser/parser_spec.rb
@@ -276,7 +276,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{ |docs, line| docs == true }.returns({})
       @parser.ast(@class, :file => "/bar")
     end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list