Flowdock
method

determine_default_connection

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ClassMethods
determine_default_connection(name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.