test/spec_commonlogger.rb in rack-1.2.8 vs test/spec_commonlogger.rb in rack-1.3.0.beta

- old
+ new

@@ -25,10 +25,10 @@ res.errors.should =~ /"GET \/ " 200 #{length} / end should "log to anything with +write+" do log = StringIO.new - res = Rack::MockRequest.new(Rack::CommonLogger.new(app, log)).get("/") + Rack::MockRequest.new(Rack::CommonLogger.new(app, log)).get("/") log.string.should =~ /"GET \/ " 200 #{length} / end should "log - content length if header is missing" do