summary refs log tree commit homepage
path: root/test/unit/test_ccc.rb
diff options
Diffstat (limited to 'test/unit/test_ccc.rb')
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_ccc.rb b/test/unit/test_ccc.rb
index 0db0c38..3be1439 100644
--- a/test/unit/test_ccc.rb
+++ b/test/unit/test_ccc.rb
@@ -44,7 +44,7 @@ class TestCccTCPI < Test::Unit::TestCase
     # make sure the server is running, at least
     client =, port)
     client.write("GET / HTTP/1.1\r\nHost:\r\n\r\n")
-    assert client.wait_readable(10), 'never got response from server'
+    assert client.wait(10), 'never got response from server'
     res =
     assert_match %r{\AHTTP/1\.1 200}, res, 'got part of first response'
     assert_match %r{\r\n\r\n\z}, res, 'got end of response, server is ready'