diff options
| author | Luke Kanies <luke@madstop.com> | 2009-02-18 22:37:09 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2009-02-18 22:37:09 -0600 |
| commit | 4a7cba3f2ed634c49bdfb2c3aba7153668c6afd0 (patch) | |
| tree | b88d01a09f1f48aad1a2f41ef1e8c5d2c6303c91 /spec/unit/application/puppetca.rb | |
| parent | 3105b5bb33639fb8a39234adfa84f354e7189785 (diff) | |
| download | puppet-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/puppetca.rb')
| -rw-r--r-- | spec/unit/application/puppetca.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/application/puppetca.rb b/spec/unit/application/puppetca.rb index effe0fb9a..38ceacbcc 100644 --- a/spec/unit/application/puppetca.rb +++ b/spec/unit/application/puppetca.rb @@ -7,6 +7,8 @@ require 'puppet/application/puppetca' describe "PuppetCA" do before :each do @puppetca = Puppet::Application[:puppetca] + Puppet::Util::Log.stubs(:newdestination) + Puppet::Util::Log.stubs(:level=) end it "should ask Puppet::Application to parse Puppet configuration file" do @@ -131,4 +133,4 @@ describe "PuppetCA" do end end -end
\ No newline at end of file +end |
