1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

- Fixed ActionCable::Connection::ClientSocketTest that was overriding ActionCable::Connection::StreamTest test name

- Only add attr_readers for required attributes
This commit is contained in:
Vipul A M 2016-04-15 16:03:21 +05:30
parent a2de667b2e
commit 02a31cfdd1
2 changed files with 3 additions and 5 deletions

View file

@ -1,10 +1,9 @@
require 'test_helper'
require 'stubs/test_server'
class ActionCable::Connection::StreamTest < ActionCable::TestCase
class ActionCable::Connection::ClientSocketTest < ActionCable::TestCase
class Connection < ActionCable::Connection::Base
attr_reader :websocket, :subscriptions, :message_buffer, :connected
attr_reader :errors
attr_reader :connected, :websocket, :errors
def initialize(*)
super

View file

@ -3,8 +3,7 @@ require 'stubs/test_server'
class ActionCable::Connection::StreamTest < ActionCable::TestCase
class Connection < ActionCable::Connection::Base
attr_reader :websocket, :subscriptions, :message_buffer, :connected
attr_reader :errors
attr_reader :connected, :websocket, :errors
def initialize(*)
super