class Test
Ruby on Rails 7.1.6
Since v6.0.6Test adapter for Action Cable
The test adapter should be used only in testing. Along with ActionCable::TestHelper it makes a great tool to test your Rails application.
To use the test adapter set adapter value to test in your config/cable.yml file.
NOTE: Test adapter extends the ActionCable::SubscriptionAdapter::Async adapter, so it could be used in system tests too.
Inherits from
Methods (defined here)
- # broadcast
- # broadcasts
- # clear
- # clear_messages