about summary refs log tree commit diff stats
path: root/test/channels/application_cable
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
commit0929719a845897cc8567cf972e07a69a71f0fa6f (patch)
tree2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /test/channels/application_cable
parent01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff)
downloadwittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip
Migrate to a full rails app
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 @@
1require "test_helper"
2
3module ApplicationCable
4 class ConnectionTest < ActionCable::Connection::TestCase
5 # test "connects with cookies" do
6 # cookies.signed[:user_id] = 42
7 #
8 # connect
9 #
10 # assert_equal connection.user_id, "42"
11 # end
12 end
13end