diff options
author | Matthew Draper <matthew@trebex.net> | 2016-01-21 14:59:11 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-01-24 22:52:40 +1030 |
commit | 322dca293b3716ccaa09e7e82046e539b0d2ffda (patch) | |
tree | 512383f2375ff948a085183c74c3da2848f58069 /actioncable/test/stubs | |
parent | 68a9060d02b1eb35c12843c0f1653809b776b35b (diff) | |
download | rails-322dca293b3716ccaa09e7e82046e539b0d2ffda.tar.gz rails-322dca293b3716ccaa09e7e82046e539b0d2ffda.tar.bz2 rails-322dca293b3716ccaa09e7e82046e539b0d2ffda.zip |
Import the relevant portions of faye-websocket
(as adapted to use concurrent-ruby / nio4r instead of eventmachine)
Diffstat (limited to 'actioncable/test/stubs')
-rw-r--r-- | actioncable/test/stubs/test_server.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |