rails-refresher/test/channels/application_cable/connection_test.rb

14 lines
276 B
Ruby
Raw Normal View History

2024-07-05 01:00:08 +00:00
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