aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/connection/stream_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies new string literal convention in actioncable/testXavier Noria2016-08-061-9/+9
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* - Fixed ActionCable::Connection::ClientSocketTest that was overriding ↵Vipul A M2016-04-151-2/+1
| | | | | | ActionCable::Connection::StreamTest test name - Only add attr_readers for required attributes
* Gracefully handle disconnected clientsJeremy Daer2016-03-201-0/+67
We'll get `Errno::ECONNRESET` if the client forcibly disconnected. Just close the socket rather than raising the exception. Handle other errors in `ClientSocket#write`, too, mirroring the Faye error handling which swallows all `StandardError` on write.