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:
parent
a2de667b2e
commit
02a31cfdd1
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue