Skip to content

Instantly share code, notes, and snippets.

@Circuit8
Last active January 26, 2017 13:44
Show Gist options
  • Save Circuit8/5694f926e770a388a04f642183a0975f to your computer and use it in GitHub Desktop.
Save Circuit8/5694f926e770a388a04f642183a0975f to your computer and use it in GitHub Desktop.
Actioncable not working in feature specs, capybara-webkit
# This is the error when printing the output of the javascript console in my feature spec
WebSocket connection to 'ws://127.0.0.1:32789/cable' failed: Unexpected response code: 200
GET "/cable" for 127.0.0.1 at 2017-01-26 13:33:23 +0000
GET "/cable/" for 127.0.0.1 at 2017-01-26 13:33:23 +0000
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment