Skip to content
  • Vladimir Dementyev's avatar
    8541394e
    Add ActionCable::Channel::TestCase · 8541394e
    Vladimir Dementyev authored
    ActionCable::Channel::TestCase provides an ability
    to unit-test channel classes.
    
    There are several reasons to write unit/functional cable tests:
    - Access control (who has access to the channel? who can perform action and with which argument?
    - Frontend-less applications have no system tests at all–and we still need a way to test channels logic.
    
    See also #27191
    8541394e
    Add ActionCable::Channel::TestCase
    Vladimir Dementyev authored
    ActionCable::Channel::TestCase provides an ability
    to unit-test channel classes.
    
    There are several reasons to write unit/functional cable tests:
    - Access control (who has access to the channel? who can perform action and with which argument?
    - Frontend-less applications have no system tests at all–and we still need a way to test channels logic.
    
    See also #27191
Loading