summaryrefslogtreecommitdiff
path: root/test/channels/application_cable/connection_test.rb
diff options
context:
space:
mode:
authorDavid Gay <eapoems@riseup.net>2023-10-29 23:19:12 -0400
committerDavid Gay <eapoems@riseup.net>2023-10-29 23:19:12 -0400
commit51d533d19411d07f8e6684468b96ea578ccc2d01 (patch)
treedba80cd8c511959dc2e075595aa5acbcccc6467c /test/channels/application_cable/connection_test.rb
parent053f3190dab2e8d92e974bce4c1e390f8b6436b8 (diff)
rails new . --css tailwind -d postgresql -a propshaft --skip-jbuilder
Diffstat (limited to 'test/channels/application_cable/connection_test.rb')
-rw-r--r--test/channels/application_cable/connection_test.rb13
1 files changed, 13 insertions, 0 deletions
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