aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/channel_test.rb2
-rw-r--r--test/server_test.rb2
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