aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/javascript/src/unit/connection_test.js
Commit message (Collapse)AuthorAgeFilesLines
* Replace reference to WebSocket global with ActionCable.adapters.WebSocketRichard Macklin2018-12-011-0/+28
The WebSocket dependency of ActionCable.Connection was made configurable in 66901c1849efae74c8a58fe0cb36afd487c067cc However, the reference here in Connection#getState was not updated to use the configurable property. This change remedies that and adds a test to verify it. Additionally, it backfills a test to ensure that Connection#open uses the configurable property.