From 322dca293b3716ccaa09e7e82046e539b0d2ffda Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Thu, 21 Jan 2016 14:59:11 +1030 Subject: Import the relevant portions of faye-websocket (as adapted to use concurrent-ruby / nio4r instead of eventmachine) --- actioncable/test/stubs/test_server.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actioncable/test/stubs/test_server.rb') diff --git a/actioncable/test/stubs/test_server.rb b/actioncable/test/stubs/test_server.rb index 6e6541a952..56d132b30a 100644 --- a/actioncable/test/stubs/test_server.rb +++ b/actioncable/test/stubs/test_server.rb @@ -14,6 +14,7 @@ class TestServer @config.subscription_adapter.new(self) end - def send_async + def stream_event_loop + @stream_event_loop ||= ActionCable::Connection::StreamEventLoop.new end end -- cgit v1.2.3