module ActionCable::Testing::Rails6

Enables Rails 6 compatible API via Refinements.

Use this to write Rails 6 compatible tests (not every Rails 6 API could be backported).

Usage:

# my_test.rb
require "test_helper"

using ActionCable::Testing::Syntax

Constants

SUPPORTED

Public Instance Methods

broadcasting_for(model) click to toggle source
Calls superclass method
# File lib/action_cable/testing/rails_six.rb, line 20
def broadcasting_for(model)
  super([channel_name, model])
end