diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-04-09 14:45:01 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-04-09 14:45:01 -0700 |
commit | a4d1ba0534b5f6f310f8465dec5187ce7065c2bb (patch) | |
tree | 5eada958102994cedcbf57196118dd31aac4ea00 /spec | |
parent | 404bdfa15aae89b813ec1d86d6b5d20cae345dff (diff) | |
download | puppet-a4d1ba0534b5f6f310f8465dec5187ce7065c2bb.tar.gz puppet-a4d1ba0534b5f6f310f8465dec5187ce7065c2bb.tar.xz puppet-a4d1ba0534b5f6f310f8465dec5187ce7065c2bb.zip |
Puppet::Parser::AST::Leaf#evaluate_match "insensitive" renamed to
"sensitive"
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/unit/parser/ast/leaf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/parser/ast/leaf.rb b/spec/unit/parser/ast/leaf.rb index 46458605d..2bb374702 100755 --- a/spec/unit/parser/ast/leaf.rb +++ b/spec/unit/parser/ast/leaf.rb @@ -32,7 +32,7 @@ describe Puppet::Parser::AST::Leaf do @leaf.stubs(:safeevaluate).with(@scope).returns(@value) @value.expects(:downcase).returns("value") - @leaf.evaluate_match("value", @scope, :insensitive => true) + @leaf.evaluate_match("value", @scope, :sensitive => true) end it "should match undef if value is an empty string" do @@ -45,7 +45,7 @@ describe Puppet::Parser::AST::Leaf do parameter = stub 'parameter' parameter.expects(:downcase).returns("value") - @leaf.evaluate_match(parameter, @scope, :insensitive => true) + @leaf.evaluate_match(parameter, @scope, :sensitive => true) end end |