method
determine_default_connection
v6.0.0 -
Show latest stable
- Class:
ActionCable::Connection::TestCase::Behavior::ClassMethods
determine_default_connection(name)public
No documentation available.
# File actioncable/lib/action_cable/connection/test_case.rb, line 166
def determine_default_connection(name)
connection = determine_constant_from_test_name(name) do |constant|
Class === constant && constant < ActionCable::Connection::Base
end
raise NonInferrableConnectionError.new(name) if connection.nil?
connection
end