diff options
Diffstat (limited to 'test/channel/periodic_timers_test.rb')
-rw-r--r-- | test/channel/periodic_timers_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/channel/periodic_timers_test.rb b/test/channel/periodic_timers_test.rb index 96d3e01783..1590a12f09 100644 --- a/test/channel/periodic_timers_test.rb +++ b/test/channel/periodic_timers_test.rb @@ -1,9 +1,8 @@ require 'test_helper' require 'stubs/test_connection' +require 'stubs/room' class ActionCable::Channel::PeriodicTimersTest < ActiveSupport::TestCase - Room = Struct.new(:id) - class ChatChannel < ActionCable::Channel::Base periodically -> { ping }, every: 5 periodically :send_updates, every: 1 |