aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/client_test.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-01-30 21:39:05 -0500
committerJon Moss <me@jonathanmoss.me>2016-01-31 16:14:26 -0500
commitddd84f6193ee44cdf33db60db469463940ea76cd (patch)
treeed1d3248749d08bca404122cb8f2089230bb6fff /actioncable/test/client_test.rb
parent9d426d3fe38f58b6157e60223fff01ba575712f6 (diff)
downloadrails-ddd84f6193ee44cdf33db60db469463940ea76cd.tar.gz
rails-ddd84f6193ee44cdf33db60db469463940ea76cd.tar.bz2
rails-ddd84f6193ee44cdf33db60db469463940ea76cd.zip
Remove unused method
Diffstat (limited to 'actioncable/test/client_test.rb')
-rw-r--r--actioncable/test/client_test.rb9
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)