diff options
| author | Markus Roberts <Markus@reality.com> | 2010-06-28 16:00:16 -0700 |
|---|---|---|
| committer | Markus Roberts <Markus@reality.com> | 2010-06-28 16:00:16 -0700 |
| commit | 0fa10a6a6315959e5cae1e61aef13610ec126e13 (patch) | |
| tree | 9ebb2240f6f8550f0b6b52bf16b98657953c0c75 /spec/unit/parser | |
| parent | 2ab123f5a9ef045c0ea7acf109b5ea67fc9e5cf7 (diff) | |
| download | puppet-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.rb | 4 |
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 |
