Tests: Ruby module.

This commit is contained in:
Andrey Zelenkov
2018-03-21 18:26:40 +03:00
parent 37051b6c15
commit c7e67446a3
33 changed files with 565 additions and 15 deletions

View File

@@ -0,0 +1,8 @@
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