spec/timber/logger_spec.rb in timber-2.0.3 vs spec/timber/logger_spec.rb in timber-2.0.4

- old
+ new

@@ -8,11 +8,11 @@ around(:each) do |example| Timecop.freeze(time) { example.run } end - context "with the :hybrid format" do - before(:each) { logger.formatter = Timber::Logger::HybridFormatter.new } + context "with the StringFormatter" do + before(:each) { logger.formatter = Timber::Logger::StringFormatter.new } it "should accept strings" do logger.info("this is a test") expect(io.string).to start_with("this is a test @metadata {\"level\":\"info\",\"dt\":\"2016-09-01T12:00:00.000000Z\"") end \ No newline at end of file