diff options
Diffstat (limited to 'test/connection/base_test.rb')
-rw-r--r-- | test/connection/base_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/connection/base_test.rb b/test/connection/base_test.rb index bc8b5ba568..7118c34d9e 100644 --- a/test/connection/base_test.rb +++ b/test/connection/base_test.rb @@ -3,7 +3,7 @@ require 'stubs/test_server' class ActionCable::Connection::BaseTest < ActiveSupport::TestCase class Connection < ActionCable::Connection::Base - attr_reader :websocket, :heartbeat, :subscriptions, :message_buffer, :connected + attr_reader :websocket, :subscriptions, :message_buffer, :connected def connect @connected = true @@ -43,7 +43,6 @@ class ActionCable::Connection::BaseTest < ActiveSupport::TestCase test "on connection open" do assert ! @connection.connected - EventMachine.expects(:add_periodic_timer) @connection.websocket.expects(:transmit).with(regexp_matches(/\_ping/)) @connection.message_buffer.expects(:process!) @@ -59,7 +58,6 @@ class ActionCable::Connection::BaseTest < ActiveSupport::TestCase @connection.send :on_open assert @connection.connected - EventMachine.expects(:cancel_timer) @connection.subscriptions.expects(:unsubscribe_from_all) @connection.send :on_close |