diff options
author | Matthew Draper <matthew@trebex.net> | 2016-06-02 04:08:48 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-06-02 04:08:48 +0930 |
commit | a8df1bc345bf062e98bda64ef9638f65292c4b56 (patch) | |
tree | 84ee84e5f1bbfafa07b4598d6fa5f122b91e6fd4 /actioncable/test/channel | |
parent | 7b75ca100de247a40c78da89e28f4d71e0635b95 (diff) | |
download | rails-a8df1bc345bf062e98bda64ef9638f65292c4b56.tar.gz rails-a8df1bc345bf062e98bda64ef9638f65292c4b56.tar.bz2 rails-a8df1bc345bf062e98bda64ef9638f65292c4b56.zip |
Properly support reloading for Action Cable channels
Diffstat (limited to 'actioncable/test/channel')
-rw-r--r-- | actioncable/test/channel/stream_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actioncable/test/channel/stream_test.rb b/actioncable/test/channel/stream_test.rb index 0b0c72ccf6..38543920d3 100644 --- a/actioncable/test/channel/stream_test.rb +++ b/actioncable/test/channel/stream_test.rb @@ -128,10 +128,6 @@ module ActionCable::StreamTests setup do @server = TestServer.new(subscription_adapter: ActionCable::SubscriptionAdapter::Inline) @server.config.allowed_request_origins = %w( http://rubyonrails.com ) - @server.stubs(:channel_classes).returns( - ChatChannel.name => ChatChannel, - UserCallbackChannel.name => UserCallbackChannel, - ) end test 'custom encoder' do |