shard-kemal/spec/logger_spec.cr

12 lines
236 B
Crystal
Raw Normal View History

2015-10-27 19:01:36 +00:00
require "./spec_helper"
describe "Logger" do
it "logs stuff" do
2015-11-16 21:55:02 +00:00
# IO.pipe do |r, w|
# logger = Kemal::Logger.new(w)
# logger.info "Info from logger"
# r.gets.should match(/Info from logger/)
# end
2015-10-27 19:01:36 +00:00
end
end