diff options
author | Daniel Rhodes <rhodes.daniel@gmail.com> | 2016-03-01 01:21:19 +0100 |
---|---|---|
committer | Daniel Rhodes <rhodes.daniel@gmail.com> | 2016-03-01 01:38:35 +0100 |
commit | f51cb7eef5be8e3496ea653fec04bedd6e5ec334 (patch) | |
tree | 4f4e8da88b138334aaf7c8b4814a295c8575abbc /actioncable/test/connection | |
parent | af2c427c390b87ea20986f1e82b498068800d775 (diff) | |
download | rails-f51cb7eef5be8e3496ea653fec04bedd6e5ec334.tar.gz rails-f51cb7eef5be8e3496ea653fec04bedd6e5ec334.tar.bz2 rails-f51cb7eef5be8e3496ea653fec04bedd6e5ec334.zip |
Added welcome message type and fix test hacks
Diffstat (limited to 'actioncable/test/connection')
-rw-r--r-- | actioncable/test/connection/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/test/connection/base_test.rb b/actioncable/test/connection/base_test.rb index fb11f9be64..fb83bd7d77 100644 --- a/actioncable/test/connection/base_test.rb +++ b/actioncable/test/connection/base_test.rb @@ -56,7 +56,7 @@ class ActionCable::Connection::BaseTest < ActionCable::TestCase run_in_eventmachine do connection = open_connection - connection.websocket.expects(:transmit).with({ identifier: "_ping", type: "confirm_subscription" }.to_json) + connection.websocket.expects(:transmit).with({ type: "welcome" }.to_json) connection.message_buffer.expects(:process!) connection.process |