diff options
author | Vladimir Dementyev <dementiev.vm@gmail.com> | 2018-09-24 13:53:02 -0400 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2018-09-26 22:06:14 -0700 |
commit | 8541394e71e961906daaea5961276892278c8a91 (patch) | |
tree | d446f2e50f45dfcc6f0d07fc67ce72cd889ebe06 /CONTRIBUTING.md | |
parent | 7f870a5ba2aa9177aa4a0e03a9d027928ba60e49 (diff) | |
download | rails-8541394e71e961906daaea5961276892278c8a91.tar.gz rails-8541394e71e961906daaea5961276892278c8a91.tar.bz2 rails-8541394e71e961906daaea5961276892278c8a91.zip |
Add ActionCable::Channel::TestCase
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
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions