This repository has been archived on 2020-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
# frozen_string_literal: true
|
|
|
|
require 'test_helper'
|
|
|
|
class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
|
|
# test "connects with cookies" do
|
|
# cookies.signed[:user_id] = 42
|
|
#
|
|
# connect
|
|
#
|
|
# assert_equal connection.user_id, "42"
|
|
# end
|
|
end
|