spec/timber/logger_spec.rb in timber-2.0.17 vs spec/timber/logger_spec.rb in timber-2.0.19

- old
+ new

@@ -57,10 +57,10 @@ it "should log properly when an event is passed" do message = Timber::Events::SQLQuery.new(sql: "select * from users", time_ms: 56, message: "select * from users") logger.info(message) expect(io.string).to start_with("select * from users @metadata {\"level\":\"info\",\"dt\":\"2016-09-01T12:00:00.000000Z\",") - expect(io.string).to include("\"event\":{\"server_side_app\":{\"sql_query\":{\"sql\":\"select * from users\",\"time_ms\":56.0}}}") + expect(io.string).to include("\"event\":{\"sql_query\":{\"sql\":\"select * from users\",\"time_ms\":56.0}}") end it "should allow :time_ms" do logger.info("event complete", time_ms: 54.5) expect(io.string).to include("\"time_ms\":54.5") \ No newline at end of file