disconnect()
Exert #disconnect on the connection under test.
# File actioncable/lib/action_cable/connection/test_case.rb, line 198 def disconnect raise "Must be connected!" if connection.nil? connection.disconnect if connection.respond_to?(:disconnect) @connection = nil end