diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
| commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
| tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /test/channels/application_cable | |
| parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
| download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip | |
Migrate to full rails app
Diffstat (limited to 'test/channels/application_cable')
| -rw-r--r-- | test/channels/application_cable/connection_test.rb | 13 |
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 @@ | |||
| 1 | require "test_helper" | ||
| 2 | |||
| 3 | module 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 | ||
| 13 | end | ||
