aboutsummaryrefslogtreecommitdiffstats
path: root/test/server_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-07-06 19:35:41 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-07-07 19:03:57 +0200
commite6effb247a8051d21c2e9bdeed6c48a511f16b28 (patch)
treea3d7743373981433ea574de26ae37832e41b5513 /test/server_test.rb
parent70361c7ddf4581cd55a7117297cf023c7a9f3297 (diff)
downloadrails-e6effb247a8051d21c2e9bdeed6c48a511f16b28.tar.gz
rails-e6effb247a8051d21c2e9bdeed6c48a511f16b28.tar.bz2
rails-e6effb247a8051d21c2e9bdeed6c48a511f16b28.zip
Removing unused matches? method
@lifo I couldn’t find any use of documentation for this, so removed it for now. Was it just for testing?
Diffstat (limited to 'test/server_test.rb')
-rw-r--r--test/server_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/server_test.rb b/test/server_test.rb
index 636fa37cf7..2d514091ff 100644
--- a/test/server_test.rb
+++ b/test/server_test.rb
@@ -3,9 +3,6 @@ require 'test_helper'
class ServerTest < ActionCableTest
class ChatChannel < ActionCable::Channel::Base
- def self.matches?(identifier)
- identifier[:channel] == 'chat' && identifier[:user_id].to_i.nonzero?
- end
end
class ChatServer < ActionCable::Server::Base