summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/ralsh.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-18 22:37:09 -0600
committerLuke Kanies <luke@madstop.com>2009-02-18 22:37:09 -0600
commit4a7cba3f2ed634c49bdfb2c3aba7153668c6afd0 (patch)
treeb88d01a09f1f48aad1a2f41ef1e8c5d2c6303c91 /spec/unit/application/ralsh.rb
parent3105b5bb33639fb8a39234adfa84f354e7189785 (diff)
downloadpuppet-4a7cba3f2ed634c49bdfb2c3aba7153668c6afd0.tar.gz
puppet-4a7cba3f2ed634c49bdfb2c3aba7153668c6afd0.tar.xz
puppet-4a7cba3f2ed634c49bdfb2c3aba7153668c6afd0.zip
Stubbing tests that were affecting other tests
These stubs are all for global configuration state. It's a known problem that these have to be stubbed, but we haven't been able to find a design yet that fixes this. At least these tests are no longer breaking other tests. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/application/ralsh.rb')
-rw-r--r--spec/unit/application/ralsh.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/application/ralsh.rb b/spec/unit/application/ralsh.rb
index 8f3951447..289748a10 100644
--- a/spec/unit/application/ralsh.rb
+++ b/spec/unit/application/ralsh.rb
@@ -7,6 +7,8 @@ require 'puppet/application/ralsh'
describe "ralsh" do
before :each do
@ralsh = Puppet::Application[:ralsh]
+ Puppet::Util::Log.stubs(:newdestination)
+ Puppet::Util::Log.stubs(:level=)
end
it "should ask Puppet::Application to not parse Puppet configuration file" do