diff options
| author | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-05-17 15:01:26 -0700 |
|---|---|---|
| committer | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-05-17 15:01:26 -0700 |
| commit | 51855e7f17877871aa8ec4f1ed7226c1d95ce66b (patch) | |
| tree | 3c5522df6b0038a8cf85e80bfb0737af5aa9ec2d /spec/unit/parser/ast/function_spec.rb | |
| parent | 3b4fd7a2a44873d3dd4afb882a381a2218e8a0e9 (diff) | |
| parent | f9e44f041b3fdc120b1c78554c35c83f7517152e (diff) | |
Merge branch '2.7.next' into next
Diffstat (limited to 'spec/unit/parser/ast/function_spec.rb')
| -rwxr-xr-x | spec/unit/parser/ast/function_spec.rb | 2 |
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 |
