diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2015-07-13 10:43:52 -0500 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2015-07-13 11:30:52 -0500 |
commit | e1da6814b44110bc640a297bbca98bd87950b192 (patch) | |
tree | 5f45c33d0f0a47d07ea9f3d1a621d30ba026a9df /test/channel/periodic_timers_test.rb | |
parent | ed7658f1f3ac9d2a91e61187645cf7531a0a0db4 (diff) | |
download | rails-e1da6814b44110bc640a297bbca98bd87950b192.tar.gz rails-e1da6814b44110bc640a297bbca98bd87950b192.tar.bz2 rails-e1da6814b44110bc640a297bbca98bd87950b192.zip |
Always load all the stub files
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 |