Flowdock
method

stub_connection

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Behavior
stub_connection(identifiers = {}) public

Set up test connection with the specified identifiers:

class ApplicationCable < ActionCable::Connection::Base
  identified_by :user, :token
end

stub_connection(user: users[:john], token: 'my-secret-token')
Show source
Register or log in to add new notes.