diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/spec_lint.rb | 4 | ||||
-rw-r--r-- | test/test_request.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/spec_lint.rb b/test/spec_lint.rb index 06003a9a..4bc28c64 100755 --- a/test/spec_lint.rb +++ b/test/spec_lint.rb @@ -721,10 +721,10 @@ describe Rack::Lint do end -describe "Rack::Lint::InputWrapper" do +describe "Rack::Lint::Wrapper::InputWrapper" do it "delegate :rewind to underlying IO object" do io = StringIO.new("123") - wrapper = Rack::Lint::InputWrapper.new(io) + wrapper = Rack::Lint::Wrapper::InputWrapper.new(io) wrapper.read.must_equal "123" wrapper.read.must_equal "" wrapper.rewind diff --git a/test/test_request.rb b/test/test_request.rb index 481a4e54..ae995c53 100644 --- a/test/test_request.rb +++ b/test/test_request.rb @@ -5,7 +5,7 @@ require 'net/http' require 'rack/lint' class TestRequest - NOSERIALIZE = [Method, Proc, Rack::Lint::InputWrapper] + NOSERIALIZE = [Method, Proc, Rack::Lint::Wrapper::InputWrapper] def call(env) status = env["QUERY_STRING"] =~ /secret/ ? 403 : 200 |