-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround for ConnectionStub's missing interface (#1686)
* Add specs for ActionCable's connection handling * Add workaround for ActionCable's ConnectionStub ActionCable's ConnectionStub (for testing) doesn't implement the exact same interfaces as Connection::Base. One thing that's missing is `env`. So calling `connection.env` direclty will fail in test environments when `stub_connection` is used. See #1684 for more information. * Update changelog
- Loading branch information
Showing
3 changed files
with
70 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters