Flowdock
method

tests

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ClassMethods
tests(connection) 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 147
          def tests(connection)
            case connection
            when String, Symbol
              self._connection_class = connection.to_s.camelize.constantize
            when Module
              self._connection_class = connection
            else
              raise NonInferrableConnectionError.new(connection)
            end
          end
Register or log in to add new notes.