diff options
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/test/client_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/actioncable/test/client_test.rb b/actioncable/test/client_test.rb index d7eecfa322..28086337c3 100644 --- a/actioncable/test/client_test.rb +++ b/actioncable/test/client_test.rb @@ -145,15 +145,6 @@ class ClientTest < ActionCable::TestCase @ws.close @closed.wait(WAIT_WHEN_EXPECTING_EVENT) end - - def close! - sock = BasicSocket.for_fd(@ws.instance_variable_get(:@stream).detach) - - # Force a TCP reset - sock.setsockopt(Socket::SOL_SOCKET, Socket::SO_LINGER, [1, 0].pack('ii')) - - sock.close - end end def faye_client(port) |