Exception: ActionCable::Channel::NonInferrableChannelError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/action_cable/testing/channel/test_case.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NonInferrableChannelError

Returns a new instance of NonInferrableChannelError.



14
15
16
17
18
# File 'lib/action_cable/testing/channel/test_case.rb', line 14

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