summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/unit/application/puppet.rb1
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