diff options
| author | Paul Berry <paul@puppetlabs.com> | 2010-11-18 11:48:32 -0800 |
|---|---|---|
| committer | Paul Berry <paul@puppetlabs.com> | 2010-11-18 14:35:54 -0800 |
| commit | ee56cfd01fce154da38d5f251f66c495b2013b5d (patch) | |
| tree | 006740376e16fbc4952da3127d156b973b3db29b /spec/unit/util | |
| parent | 2a7863a87f685a7bff254cce7e557e9eb143ba7d (diff) | |
Maint: Improved spec tests
In configurer_spec.rb, replaced some mock classes with actual
Puppet::Transaction::Report objects. In log_spec.rb, stopped using
the Array type as a log destination, since doing so was unreliable.
Diffstat (limited to 'spec/unit/util')
| -rwxr-xr-x | spec/unit/util/log_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/util/log_spec.rb b/spec/unit/util/log_spec.rb index 7d96fe190..4cec7105d 100755 --- a/spec/unit/util/log_spec.rb +++ b/spec/unit/util/log_spec.rb @@ -87,7 +87,7 @@ describe Puppet::Util::Log do it "should flush the log queue when the first destination is specified" do Puppet::Util::Log.close_all Puppet::Util::Log.expects(:flushqueue) - Puppet::Util::Log.newdestination([]) + Puppet::Util::Log.newdestination(:console) end it "should convert the level to a symbol if it's passed in as a string" do |
