summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-06-28 16:00:16 -0700
committerMarkus Roberts <Markus@reality.com>2010-06-28 16:00:16 -0700
commit0fa10a6a6315959e5cae1e61aef13610ec126e13 (patch)
tree9ebb2240f6f8550f0b6b52bf16b98657953c0c75 /spec/unit/parser
parent2ab123f5a9ef045c0ea7acf109b5ea67fc9e5cf7 (diff)
downloadpuppet-0fa10a6a6315959e5cae1e61aef13610ec126e13.tar.gz
puppet-0fa10a6a6315959e5cae1e61aef13610ec126e13.tar.xz
puppet-0fa10a6a6315959e5cae1e61aef13610ec126e13.zip
Cleaning up various warnings in specs
There were a bunch of "warning: parenthesize argument(s) for future version" messages; now there aren't.
Diffstat (limited to 'spec/unit/parser')
-rw-r--r--spec/unit/parser/ast/in_operator_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/parser/ast/in_operator_spec.rb b/spec/unit/parser/ast/in_operator_spec.rb
index df73645a2..9d3cab712 100644
--- a/spec/unit/parser/ast/in_operator_spec.rb
+++ b/spec/unit/parser/ast/in_operator_spec.rb
@@ -36,13 +36,13 @@ describe Puppet::Parser::AST::InOperator do
end
it "should raise an argument error if rval doesn't support the include? method" do
- @rval.expects(:safeevaluate).with(@scope).returns(stub 'value')
+ @rval.expects(:safeevaluate).with(@scope).returns(stub('value'))
lambda { @operator.evaluate(@scope) }.should raise_error
end
it "should not raise an argument error if rval supports the include? method" do
- @rval.expects(:safeevaluate).with(@scope).returns(stub 'value', :include? => true)
+ @rval.expects(:safeevaluate).with(@scope).returns(stub('value', :include? => true))
lambda { @operator.evaluate(@scope) }.should_not raise_error
end