mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Remove old test
This commit is contained in:
parent
9b1de10004
commit
ea5d4f541d
1 changed files with 0 additions and 9 deletions
|
@ -225,13 +225,4 @@ class TestIntegration < Test::Unit::TestCase
|
|||
s << "GET / HTTP/1.0\r\n\r\n"
|
||||
assert_equal "Hello World", s.read.split("\r\n").last
|
||||
end
|
||||
|
||||
def test_bad_query_string_outputs_400
|
||||
server "-q test/hello.ru 2>&1"
|
||||
|
||||
s = TCPSocket.new "localhost", @tcp_port
|
||||
s << "GET /?h=% HTTP/1.0\r\n\r\n"
|
||||
data = s.read
|
||||
assert_equal "HTTP/1.1 400 Bad Request\r\n\r\n", data
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue