aboutsummaryrefslogtreecommitdiffstats
path: root/test/channel/stream_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/channel/stream_test.rb')
-rw-r--r--test/channel/stream_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/channel/stream_test.rb b/test/channel/stream_test.rb
index 2f4c988adf..1a8c259d11 100644
--- a/test/channel/stream_test.rb
+++ b/test/channel/stream_test.rb
@@ -1,9 +1,8 @@
require 'test_helper'
require 'stubs/test_connection'
+require 'stubs/room'
class ActionCable::Channel::StreamTest < ActiveSupport::TestCase
- Room = Struct.new(:id)
-
class ChatChannel < ActionCable::Channel::Base
def subscribed
@room = Room.new params[:id]