1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# frozen_string_literal: true require 'test_helper' module ApplicationCable class ConnectionTest < ActionCable::Connection::TestCase # test "connects with cookies" do # cookies.signed[:user_id] = 42 # # connect # # assert_equal connection.user_id, "42" # end end end