summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/unit/parser/parser_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/parser_spec.rb b/spec/unit/parser/parser_spec.rb
index f5df3041c..d5861d7db 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