aboutsummaryrefslogtreecommitdiffstats
path: root/test/rest_forbidden_resource.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/rest_forbidden_resource.erl')
-rw-r--r--test/rest_forbidden_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rest_forbidden_resource.erl b/test/rest_forbidden_resource.erl
index eef04d0..9d3cd95 100644
--- a/test/rest_forbidden_resource.erl
+++ b/test/rest_forbidden_resource.erl
@@ -4,7 +4,7 @@
post_is_create/2, create_path/2, to_text/2, from_text/2]).
init(_Transport, _Req, _Opts) ->
- {upgrade, protocol, cowboy_http_rest}.
+ {upgrade, protocol, cowboy_rest}.
rest_init(Req, [Forbidden]) ->
{ok, Req, Forbidden}.