![]() 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 |
||
---|---|---|
.. | ||
channel | ||
connection | ||
javascript | ||
server | ||
stubs | ||
subscription_adapter | ||
client_test.rb | ||
test_helper.rb | ||
test_helper_test.rb | ||
worker_test.rb |