aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 14:00:28 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 14:00:28 +0200
commit0e3adf1fee77f8f31ce4e604be19e3ef236924a4 (patch)
tree782df1b3792eec93470961359551a351cc15fa02 /test
parentf39c001c03aaaef9737f1b302a948455de6eefd7 (diff)
downloadcowboy-0e3adf1fee77f8f31ce4e604be19e3ef236924a4.tar.gz
cowboy-0e3adf1fee77f8f31ce4e604be19e3ef236924a4.tar.bz2
cowboy-0e3adf1fee77f8f31ce4e604be19e3ef236924a4.zip
Rename cowboy_http_websocket to cowboy_websocket
Diffstat (limited to 'test')
-rw-r--r--test/websocket_echo_handler.erl2
-rw-r--r--test/websocket_handler.erl2
-rw-r--r--test/websocket_handler_init_shutdown.erl2
-rw-r--r--test/ws_timeout_hibernate_handler.erl2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/websocket_echo_handler.erl b/test/websocket_echo_handler.erl
index 949e8a6..926b51d 100644
--- a/test/websocket_echo_handler.erl
+++ b/test/websocket_echo_handler.erl
@@ -8,7 +8,7 @@
websocket_info/3, websocket_terminate/3]).
init(_Any, _Req, _Opts) ->
- {upgrade, protocol, cowboy_http_websocket}.
+ {upgrade, protocol, cowboy_websocket}.
handle(_Req, _State) ->
exit(badarg).
diff --git a/test/websocket_handler.erl b/test/websocket_handler.erl
index 1430890..caf4828 100644
--- a/test/websocket_handler.erl
+++ b/test/websocket_handler.erl
@@ -8,7 +8,7 @@
websocket_info/3, websocket_terminate/3]).
init(_Any, _Req, _Opts) ->
- {upgrade, protocol, cowboy_http_websocket}.
+ {upgrade, protocol, cowboy_websocket}.
handle(_Req, _State) ->
exit(badarg).
diff --git a/test/websocket_handler_init_shutdown.erl b/test/websocket_handler_init_shutdown.erl
index 371c34b..5fdfba3 100644
--- a/test/websocket_handler_init_shutdown.erl
+++ b/test/websocket_handler_init_shutdown.erl
@@ -8,7 +8,7 @@
websocket_info/3, websocket_terminate/3]).
init(_Any, _Req, _Opts) ->
- {upgrade, protocol, cowboy_http_websocket}.
+ {upgrade, protocol, cowboy_websocket}.
handle(_Req, _State) ->
exit(badarg).
diff --git a/test/ws_timeout_hibernate_handler.erl b/test/ws_timeout_hibernate_handler.erl
index 871a686..ac6ee4f 100644
--- a/test/ws_timeout_hibernate_handler.erl
+++ b/test/ws_timeout_hibernate_handler.erl
@@ -8,7 +8,7 @@
websocket_info/3, websocket_terminate/3]).
init(_Any, _Req, _Opts) ->
- {upgrade, protocol, cowboy_http_websocket}.
+ {upgrade, protocol, cowboy_websocket}.
handle(_Req, _State) ->
exit(badarg).