spec/mixlib/log_spec.rb in mixlib-log-1.7.0 vs spec/mixlib/log_spec.rb in mixlib-log-1.7.1

- old
+ new

@@ -77,9 +77,14 @@ Logit.fatal "SECOND" expect(first_logdev.string).to_not match(/SECOND/) 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, :info => Logger::INFO, :warn => Logger::WARN,