summaryrefslogtreecommitdiffhomepage
path: root/test/channels
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-03-09 16:02:59 -0500
committerrealtradam <[email protected]>2024-03-09 16:02:59 -0500
commitfdd9a2ef16b9401048f0c6b743c09ddcb52a8516 (patch)
tree434ffb70536b5a72efcee3ed6b46275ced0d5e27 /test/channels
downloadgameHolster-fdd9a2ef16b9401048f0c6b743c09ddcb52a8516.tar.gz
gameHolster-fdd9a2ef16b9401048f0c6b743c09ddcb52a8516.zip
The site is born
Diffstat (limited to 'test/channels')
-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