diff options
author | Jon Moss <me@jonathanmoss.me> | 2016-01-30 21:39:05 -0500 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2016-01-31 16:14:26 -0500 |
commit | ddd84f6193ee44cdf33db60db469463940ea76cd (patch) | |
tree | ed1d3248749d08bca404122cb8f2089230bb6fff /actioncable | |
parent | 9d426d3fe38f58b6157e60223fff01ba575712f6 (diff) | |
download | rails-ddd84f6193ee44cdf33db60db469463940ea76cd.tar.gz rails-ddd84f6193ee44cdf33db60db469463940ea76cd.tar.bz2 rails-ddd84f6193ee44cdf33db60db469463940ea76cd.zip |
Remove unused method
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) |