full_stack_twitter_clone/test/channels/application_cable/connection_test.rb

14 lines
276 B
Ruby

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