diff options
| author | Markus Roberts <Markus@reality.com> | 2010-06-28 16:19:44 -0700 |
|---|---|---|
| committer | Markus Roberts <Markus@reality.com> | 2010-06-28 16:19:44 -0700 |
| commit | ef40a56e1e13d4790292fdf202365e641ed6df2f (patch) | |
| tree | aedc5f23ba55bafdd024083616d1904cb5f76a53 /spec/unit/parser | |
| parent | 2baf74e71d97f0e9917b088279cb0540e37c022c (diff) | |
| parent | 0aae5a71a8e3b38cd8d7041f5c40091887c924a8 (diff) | |
| download | puppet-ef40a56e1e13d4790292fdf202365e641ed6df2f.tar.gz puppet-ef40a56e1e13d4790292fdf202365e641ed6df2f.tar.xz puppet-ef40a56e1e13d4790292fdf202365e641ed6df2f.zip | |
Merge branch 'testing' into tweak/testing/silence_spec_output
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 |
