summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-06-28 16:19:44 -0700
committerMarkus Roberts <Markus@reality.com>2010-06-28 16:19:44 -0700
commitef40a56e1e13d4790292fdf202365e641ed6df2f (patch)
treeaedc5f23ba55bafdd024083616d1904cb5f76a53 /spec/unit/parser
parent2baf74e71d97f0e9917b088279cb0540e37c022c (diff)
parent0aae5a71a8e3b38cd8d7041f5c40091887c924a8 (diff)
downloadpuppet-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.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