diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2015-07-12 11:44:46 -0500 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2015-07-12 11:44:56 -0500 |
commit | edc68d7bf63bb40d440213a449031c1f07a1f95f (patch) | |
tree | ff5eeb3c93cb4849ad4092e9336ba711c736b6b2 /test/stubs | |
parent | 1af531dcf7b8d9ee4237ea5fd392b43875309954 (diff) | |
download | rails-edc68d7bf63bb40d440213a449031c1f07a1f95f.tar.gz rails-edc68d7bf63bb40d440213a449031c1f07a1f95f.tar.bz2 rails-edc68d7bf63bb40d440213a449031c1f07a1f95f.zip |
More connection tests
Diffstat (limited to 'test/stubs')
-rw-r--r-- | test/stubs/test_connection.rb | 5 | ||||
-rw-r--r-- | test/stubs/test_server.rb | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/test/stubs/test_connection.rb b/test/stubs/test_connection.rb index 1c353f9ee3..384abc5e76 100644 --- a/test/stubs/test_connection.rb +++ b/test/stubs/test_connection.rb @@ -18,9 +18,4 @@ class TestConnection def last_transmission @transmissions.last end - - # Disable async in tests - def send_async(method, *arguments) - send method, *arguments - end end diff --git a/test/stubs/test_server.rb b/test/stubs/test_server.rb index aec80859c3..2a7ac3e927 100644 --- a/test/stubs/test_server.rb +++ b/test/stubs/test_server.rb @@ -1,6 +1,8 @@ require 'ostruct' class TestServer + include ActionCable::Server::Connections + attr_reader :logger, :config def initialize |