summaryrefslogtreecommitdiff
path: root/test/channels/application_cable/connection_test.rb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-04-21 20:59:17 -0400
committerDavid Gay <david@davidgay.org>2021-04-21 20:59:17 -0400
commit975ab9e285baf4f1b22b60104db4f8f982c1db8b (patch)
tree7ad97e350a11d61f0b356e81fa759baf648dcd1c /test/channels/application_cable/connection_test.rb
New Rails project with pgsql
Diffstat (limited to 'test/channels/application_cable/connection_test.rb')
-rw-r--r--test/channels/application_cable/connection_test.rb11
1 files changed, 11 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..800405f
--- /dev/null
+++ b/test/channels/application_cable/connection_test.rb
@@ -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