summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser/ast/function_spec.rb
diff options
context:
space:
mode:
authorPieter van de Bruggen <pieter@puppetlabs.com>2011-05-17 15:07:18 -0700
committerPieter van de Bruggen <pieter@puppetlabs.com>2011-05-17 15:07:18 -0700
commitb63fd841a188f9b21aed40c7b2f046a144fd37c9 (patch)
tree3c5522df6b0038a8cf85e80bfb0737af5aa9ec2d /spec/unit/parser/ast/function_spec.rb
parentc8215c550cbe7e3ad059637202b02267d401946d (diff)
parent51855e7f17877871aa8ec4f1ed7226c1d95ce66b (diff)
Merge branch 'next'
Diffstat (limited to 'spec/unit/parser/ast/function_spec.rb')
-rwxr-xr-xspec/unit/parser/ast/function_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/ast/function_spec.rb b/spec/unit/parser/ast/function_spec.rb
index c52e806e9..d683b122b 100755
--- a/spec/unit/parser/ast/function_spec.rb
+++ b/spec/unit/parser/ast/function_spec.rb
@@ -48,7 +48,7 @@ describe Puppet::Parser::AST::Function do
lambda{ func.evaluate(@scope) }.should raise_error(Puppet::ParseError,"Function 'exist' must be the value of a statement")
end
- it "should evaluate its arguments" do
+ it "should evaluate its arguments", :'fails_on_ruby_1.9.2' => true do
argument = stub 'arg'
Puppet::Parser::Functions.stubs(:function).with("exist").returns(true)
func = Puppet::Parser::AST::Function.new :name => "exist", :ftype => :statement, :arguments => argument