new rails
This commit is contained in:
11
test/channels/application_cable/connection_test.rb
Normal file
11
test/channels/application_cable/connection_test.rb
Normal file
@ -0,0 +1,11 @@
|
||||
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
|
Reference in New Issue
Block a user