Sha256: 3b22c8ef1e00a61570b67618c676a01f589c0098454c6ed99aeaa7f52e4350fe
Contents?: true
Size: 320 Bytes
Versions: 149
Compression:
Stored size: 320 Bytes
Contents
require 'rack/nulllogger' describe Rack::NullLogger do should "act as a noop logger" do app = lambda { |env| env['rack.logger'].warn "b00m" [200, {'Content-Type' => 'text/plain'}, ["Hello, World!"]] } logger = Rack::NullLogger.new(app) lambda{ logger.call({}) }.should.not.raise end end
Version data entries
149 entries across 128 versions & 16 rubygems