diff options
Diffstat (limited to 'actioncable/test/javascript/src/test_helpers/index.coffee')
-rw-r--r-- | actioncable/test/javascript/src/test_helpers/index.coffee | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actioncable/test/javascript/src/test_helpers/index.coffee b/actioncable/test/javascript/src/test_helpers/index.coffee new file mode 100644 index 0000000000..d36524d9cc --- /dev/null +++ b/actioncable/test/javascript/src/test_helpers/index.coffee @@ -0,0 +1,8 @@ +#= require_self +#= require_tree . + +ActionCable.TestHelpers = + testURL: "ws://cable.example.com/" + +originalWebSocket = ActionCable.WebSocket +QUnit.testDone -> ActionCable.WebSocket = originalWebSocket |