summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser/ast/function_spec.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-05-17 10:16:03 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-05-17 10:16:03 -0700
commit5457c70a66ef95482391e39e43f1fa99ac83e721 (patch)
tree4404cb2a154461798374e93f99d989325a1a76d4 /spec/unit/parser/ast/function_spec.rb
parent009c961ec6e71621cd984b98a5d4e3c855dbaee4 (diff)
parent9da1454e71b8330e929ac5616eefa44388c90832 (diff)
downloadpuppet-5457c70a66ef95482391e39e43f1fa99ac83e721.tar.gz
puppet-5457c70a66ef95482391e39e43f1fa99ac83e721.tar.xz
puppet-5457c70a66ef95482391e39e43f1fa99ac83e721.zip
Merge branch 'ticket/2.7.x/7507-filter_19_failures' into 2.7.x
* ticket/2.7.x/7507-filter_19_failures: (#7507) Add ability to filter Ruby 1.9 spec failures (#7507) Fix when_invoked action specs in Ruby 1.9
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