Improve rewindable input test coverage so tests fail when you remove the middleware
Signed-off-by: Joshua Peek <josh@joshpeek.com>
This commit is contained in:
parent
5b92dcb675
commit
8423bb6a68
@ -206,8 +206,7 @@ def initialize(app)
|
||||
end
|
||||
|
||||
def call(env)
|
||||
req = Rack::Request.new(env)
|
||||
req.params # Parse params
|
||||
env['rack.input'].read
|
||||
@app.call(env)
|
||||
end
|
||||
end
|
||||
|
@ -150,8 +150,7 @@ def initialize(app)
|
||||
end
|
||||
|
||||
def call(env)
|
||||
req = Rack::Request.new(env)
|
||||
req.params # Parse params
|
||||
env['rack.input'].read
|
||||
@app.call(env)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user