aboutsummaryrefslogtreecommitdiffstats
path: root/test/channel/base_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/channel/base_test.rb')
-rw-r--r--test/channel/base_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/channel/base_test.rb b/test/channel/base_test.rb
index 7eb8e15845..580338b44a 100644
--- a/test/channel/base_test.rb
+++ b/test/channel/base_test.rb
@@ -20,8 +20,8 @@ class ActionCable::Channel::BaseTest < ActiveSupport::TestCase
class ChatChannel < BasicChannel
attr_reader :room, :last_action
- on_subscribe :toggle_subscribed
- on_unsubscribe :toggle_subscribed
+ after_subscribe :toggle_subscribed
+ after_unsubscribe :toggle_subscribed
def initialize(*)
@subscribed = false