summaryrefslogtreecommitdiff
path: root/spec/mixlib/log_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mixlib/log_spec.rb')
-rw-r--r--spec/mixlib/log_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/mixlib/log_spec.rb b/spec/mixlib/log_spec.rb
index 1eceff1..d780b0d 100644
--- a/spec/mixlib/log_spec.rb
+++ b/spec/mixlib/log_spec.rb
@@ -79,6 +79,11 @@ describe Mixlib::Log do
expect(second_logdev.string).to match(/SECOND/)
end
+ it "knows that it's been configured" do
+ Logit.init
+ expect(Logit.configured?).to be true
+ end
+
it "should set the log level using the binding form, with :debug, :info, :warn, :error, or :fatal" do
levels = {
:debug => Logger::DEBUG,