diff options
Diffstat (limited to 'spec/unit/parser/interpreter.rb')
-rwxr-xr-x | spec/unit/parser/interpreter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/parser/interpreter.rb b/spec/unit/parser/interpreter.rb index 7885f0542..eb5dd9aaf 100755 --- a/spec/unit/parser/interpreter.rb +++ b/spec/unit/parser/interpreter.rb @@ -127,6 +127,7 @@ describe Puppet::Parser::Interpreter, " when compiling catalog" do end it "should fail intelligently when no parser can be found" do + @node.stubs(:name).returns("whatever") @interp.expects(:parser).with(:myenv).returns(nil) proc { @interp.compile(@node) }.should raise_error(Puppet::ParseError) end |