spec/timber/logger_spec.rb in timber-2.5.1 vs spec/timber/logger_spec.rb in timber-2.6.0.pre.beta1
- old
+ new
@@ -128,14 +128,9 @@
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\":{\"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")
- end
-
it "should allow :tag" do
logger.info("event complete", tag: "tag1")
expect(io.string).to include("\"tags\":[\"tag1\"]")
end
\ No newline at end of file