1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/test/channel
Vladimir Dementyev 8541394e71 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
2018-09-26 22:06:14 -07:00
..
base_test.rb Inherit all actioncable's test classes from ActionCable::TestCase 2018-06-08 23:23:06 +03:00
broadcasting_test.rb Include ActiveSupport::Testing::MethodCallAssertions to ActionCable::TestCase 2018-06-08 23:29:05 +03:00
naming_test.rb Inherit all actioncable's test classes from ActionCable::TestCase 2018-06-08 23:23:06 +03:00
periodic_timers_test.rb Include ActiveSupport::Testing::MethodCallAssertions to ActionCable::TestCase 2018-06-08 23:29:05 +03:00
rejection_test.rb Inherit all actioncable's test classes from ActionCable::TestCase 2018-06-08 23:23:06 +03:00
stream_test.rb Remove private def 2018-09-23 21:27:44 +05:30
test_case_test.rb Add ActionCable::Channel::TestCase 2018-09-26 22:06:14 -07:00