diff options
-rwxr-xr-x | spec/unit/application/puppet.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/application/puppet.rb b/spec/unit/application/puppet.rb index 00fe1ddea..3c1143060 100755 --- a/spec/unit/application/puppet.rb +++ b/spec/unit/application/puppet.rb @@ -143,6 +143,7 @@ describe "Puppet" do @interpreter = stub_everything Puppet.stubs(:err) @puppet.stubs(:exit) + @puppet.options.stubs(:[]).with(:code).returns "some code" Puppet::Parser::Interpreter.stubs(:new).returns(@interpreter) end |