Tests: Ruby input.rewind is no longer required.
For more information see:
42aff22f70
This commit is contained in:
parent
1443d623d4
commit
8fbe437ca6
2 changed files with 0 additions and 17 deletions
|
@ -1,8 +0,0 @@
|
|||
app = Proc.new do |env|
|
||||
env['rack.input'].read
|
||||
env['rack.input'].rewind
|
||||
body = env['rack.input'].read
|
||||
['200', {'Content-Length' => body.length.to_s}, [body]]
|
||||
end
|
||||
|
||||
run app
|
|
@ -163,15 +163,6 @@ def test_ruby_application_input_each():
|
|||
assert client.post(body=body)['body'] == body, 'input each'
|
||||
|
||||
|
||||
@pytest.mark.skip('not yet')
|
||||
def test_ruby_application_input_rewind():
|
||||
client.load('input_rewind')
|
||||
|
||||
body = '0123456789'
|
||||
|
||||
assert client.post(body=body)['body'] == body, 'input rewind'
|
||||
|
||||
|
||||
@pytest.mark.skip('not yet')
|
||||
def test_ruby_application_syntax_error(skip_alert):
|
||||
skip_alert(
|
||||
|
|
Loading…
Reference in a new issue