Module: ActionCable::Testing::Rails6

Defined in:
lib/action_cable/testing/rails_six.rb

Overview

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