From af472604114459635b42de7e7c46ab3626a450a2 Mon Sep 17 00:00:00 2001 From: Gaius Novus Date: Thu, 28 May 2009 22:28:36 -0400 Subject: added 'obj' and 'length' objects to the Rack::CommonLogger specs to fix references to uninstantiated variables --- test/spec_rack_commonlogger.rb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/spec_rack_commonlogger.rb b/test/spec_rack_commonlogger.rb index 9d212d5..7eacf50 100644 --- a/test/spec_rack_commonlogger.rb +++ b/test/spec_rack_commonlogger.rb @@ -6,6 +6,10 @@ require 'rack/lobster' require 'rack/mock' context "Rack::CommonLogger" do + + obj = '

Hello, World!

' + length = obj.length + app = lambda { |env| [200, {"Content-Type" => "text/html", "Content-Length" => length.to_s}, -- 1.5.4