summaryrefslogtreecommitdiff
path: root/test/channels
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-20 19:53:50 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-20 19:53:50 -0600
commit78644d412df7274072e3a3d4ad0873437554781b (patch)
treed73f29f19790f7dde2023974e47610f8c4f07f7a /test/channels
parent9aa71bb4bfa345da9514bf6bb251985af0b8758e (diff)
Añade unsafe autocorrects de rubocop
Diffstat (limited to 'test/channels')
-rw-r--r--test/channels/application_cable/connection_test.rb20
1 files changed, 12 insertions, 8 deletions
diff --git a/test/channels/application_cable/connection_test.rb b/test/channels/application_cable/connection_test.rb
index d05dbd2..4aee9b3 100644
--- a/test/channels/application_cable/connection_test.rb
+++ b/test/channels/application_cable/connection_test.rb
@@ -1,11 +1,15 @@
+# frozen_string_literal: true
+
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
+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