diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-06-28 20:16:54 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-06-29 15:14:51 +0200 |
commit | f61467ec5b90ebb75987a13f763b6a19548d84b3 (patch) | |
tree | 2861e978c7013d5b886bcafde4dd9bb45b9ca2fd /test | |
parent | 336d12f97aba485809005f27d4952705e312251c (diff) | |
download | rails-f61467ec5b90ebb75987a13f763b6a19548d84b3.tar.gz rails-f61467ec5b90ebb75987a13f763b6a19548d84b3.tar.bz2 rails-f61467ec5b90ebb75987a13f763b6a19548d84b3.zip |
Move server classes to its own namespace
Diffstat (limited to 'test')
-rw-r--r-- | test/channel_test.rb | 2 | ||||
-rw-r--r-- | test/server_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/channel_test.rb b/test/channel_test.rb index ad5fa04356..96987977ea 100644 --- a/test/channel_test.rb +++ b/test/channel_test.rb @@ -8,7 +8,7 @@ class ChannelTest < ActionCableTest end end - class PingServer < ActionCable::Server + class PingServer < ActionCable::Server::Base register_channels PingChannel end diff --git a/test/server_test.rb b/test/server_test.rb index 824875bb99..1e02497f61 100644 --- a/test/server_test.rb +++ b/test/server_test.rb @@ -8,7 +8,7 @@ class ServerTest < ActionCableTest end end - class ChatServer < ActionCable::Server + class ChatServer < ActionCable::Server::Base register_channels ChatChannel end |