spec/timber/logger_spec.rb in timber-2.1.4 vs spec/timber/logger_spec.rb in timber-2.1.5
- old
+ new
@@ -19,10 +19,10 @@
logger = described_class.new(nil)
expect(logger.formatter).to be_kind_of(Timber::Logger::MessageOnlyFormatter)
end
end
- it "should use the Multi log device" do
+ it "should allow multiple loggers" do
io1 = StringIO.new
io2 = StringIO.new
logger = Timber::Logger.new(STDOUT, io1, io2)
logger.info("hello world")
expect(io1.string).to start_with("hello world @metadata {")
\ No newline at end of file