From 682488dc179cfe1ae8d6649e4b711533a8abfdda Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 13 Apr 2024 19:24:03 -0400 Subject: rails new --asset-pipeline=propshaft --skip-jbuilder --skip-action-mailer --skip-action-mailbox -d postgresql --- test/channels/application_cable/connection_test.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/channels/application_cable/connection_test.rb (limited to 'test/channels/application_cable') diff --git a/test/channels/application_cable/connection_test.rb b/test/channels/application_cable/connection_test.rb new file mode 100644 index 0000000..6340bf9 --- /dev/null +++ b/test/channels/application_cable/connection_test.rb @@ -0,0 +1,13 @@ +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 -- cgit v1.2.3