From a4d29f635c7c6bec4a15ab43956a2be896b0ff11 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 20 Feb 2023 19:52:42 -0600 Subject: Commit inicial --- test/channels/application_cable/connection_test.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/channels/application_cable/connection_test.rb (limited to 'test/channels') 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 -- cgit v1.2.3