summaryrefslogtreecommitdiff
path: root/test/channels/application_cable
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-11-11 16:55:14 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-11-11 16:55:14 +0100
commitfea9476a591559bd8fdcf17b64e5114c592a5b08 (patch)
tree08aa0fdd62752f1d286aa66ac77413fb03d6d737 /test/channels/application_cable
C'est l'heure d'assurer le suivi de quelques flacons!main
Diffstat (limited to 'test/channels/application_cable')
-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
Copyright 2019--2024 Marius PETER