Method: ActionCable::Channel::NonInferrableChannelError#initialize

Defined in:
actioncable/lib/action_cable/channel/test_case.rb

#initialize(name) ⇒ NonInferrableChannelError

Returns a new instance of NonInferrableChannelError.



11
12
13
14
15
# File 'actioncable/lib/action_cable/channel/test_case.rb', line 11

def initialize(name)
  super "Unable to determine the channel to test from #{name}. " +
    "You'll need to specify it using `tests YourChannel` in your " +
    "test case definition."
end