Permalink
Browse files

Fix HTTP return value in test case.

It is 200 OK, not 202 OK :)
  • Loading branch information...
1 parent d8703a6 commit fec678e8d82d1a6e07b6b47010e431f6e4a9a7be @jlouis committed Dec 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/ws_handler.erl
View
2 test/ws_handler.erl
@@ -9,7 +9,7 @@ init({tcp, http}, Req, _Opts) ->
handle(InReq, State) ->
case sv:run(ws_q, fun() ->
- {ok, Req2} = cowboy_req:reply(202, [], <<"Hello World">>, InReq),
+ {ok, Req2} = cowboy_req:reply(200, [], <<"Hello World">>, InReq),
Req2
end) of
{ok, Req2} -> {ok, Req2, State};

0 comments on commit fec678e

Please sign in to comment.