Permalink
Browse files

Skip Rack::Lint::InputWrapper serialization in TestRequest. Makes tes…

…ts pass on Ruby 1.9.1p378.
  • Loading branch information...
1 parent 7eb26e4 commit 64cea8ee4235cd724c2f3b66b096d4528a942264 @rkh rkh committed with manveru Sep 8, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/testrequest.rb
View
@@ -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

0 comments on commit 64cea8e

Please sign in to comment.