summaryrefslogtreecommitdiff
path: root/test/testrequest.rb
diff options
context:
space:
mode:
authorKonstantin Haase <konstantin.mailinglists@googlemail.com>2010-09-08 20:59:52 +0800
committerMichael Fellinger <m.fellinger@gmail.com>2010-09-09 03:22:03 +0800
commit64cea8ee4235cd724c2f3b66b096d4528a942264 (patch)
tree84c34ea213a362942575d955965816f2ed814a11 /test/testrequest.rb
parent7eb26e4a3f81921631abe48fa9577b6d9c9d3506 (diff)
downloadrack-64cea8ee4235cd724c2f3b66b096d4528a942264.tar.gz
Skip Rack::Lint::InputWrapper serialization in TestRequest. Makes tests pass on Ruby 1.9.1p378.
Diffstat (limited to 'test/testrequest.rb')
-rw-r--r--test/testrequest.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testrequest.rb b/test/testrequest.rb
index b819ce93..c5e339ae 100644
--- a/test/testrequest.rb
+++ b/test/testrequest.rb
@@ -1,8 +1,9 @@
require 'yaml'
require 'net/http'
+require 'rack/lint'
class TestRequest
- NOSERIALIZE = [Method, Proc]
+ NOSERIALIZE = [Method, Proc, Rack::Lint::InputWrapper]
def call(env)
status = env["QUERY_STRING"] =~ /secret/ ? 403 : 200