test/server.rb in mechanize-0.4.1 vs test/server.rb in mechanize-0.4.2

- old
+ new

@@ -1,10 +1,13 @@ require 'webrick' require 'servlets' +require 'logger' s = WEBrick::HTTPServer.new( :Port => 2000, - :DocumentRoot => Dir::pwd + "/htdocs" + :DocumentRoot => Dir::pwd + "/htdocs", + :Logger => Logger.new(nil), + :AccessLog => Logger.new(nil) ) s.mount("/one_cookie", OneCookieTest) s.mount("/many_cookies", ManyCookiesTest) s.mount("/many_cookies_as_string", ManyCookiesAsStringTest) s.mount("/send_cookies", SendCookiesTest)