Testing ActionCable

Iā€™m using RSpec.

What are available from rspec-rails to use in it:

stub_connection(arguments)
connection
disconnect
connect "/cable"
subscribe(arguments)
subscription
subscription.unsubscribe_from_channel
expect(subscription).to be_confirmed
expect(subscription).to be_rejected
expect(subscription).to have_stream_for
expect(subscription).to have_stream_from
streams
transmissions
expect { ActionCable.server.broadcast(...) }.to
  have_broadcasted_to(...).with(...)

See palkan/action-cable-testing.