aboutsummaryrefslogtreecommitdiffstats
path: root/test/webrick/test_cgi.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-12 00:37:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-12 00:37:12 +0000
commit6bcf7098384e96bc756356ee08bc0dd92584244f (patch)
treeb0aebcf6b4282e866b0641d4e769760724c1a713 /test/webrick/test_cgi.rb
parent23733f1014b4f3e8445a2f5606085a554e026668 (diff)
downloadruby-6bcf7098384e96bc756356ee08bc0dd92584244f.tar.gz
* test/webrick/test_cgi.rb: Removes usage of deprecated
:RequestHandler option. patched by Peter Weldon [ruby-core:34010] * test/webrick/test_httpproxy.rb: ditto. * test/webrick/test_httpserver.rb: Add a test of the deprecation behaviour. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick/test_cgi.rb')
-rw-r--r--test/webrick/test_cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_cgi.rb b/test/webrick/test_cgi.rb
index 4bfb3df388..11853161b1 100644
--- a/test/webrick/test_cgi.rb
+++ b/test/webrick/test_cgi.rb
@@ -10,7 +10,7 @@ class TestWEBrickCGI < Test::Unit::TestCase
:CGIInterpreter => TestWEBrick::RubyBin,
:DocumentRoot => File.dirname(__FILE__),
:DirectoryIndex => ["webrick.cgi"],
- :RequestHandler => Proc.new{|req, res|
+ :RequestCallback => Proc.new{|req, res|
def req.meta_vars
meta = super
meta["RUBYLIB"] = $:.join(File::PATH_SEPARATOR)