aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 13:53:27 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 13:53:27 +0200
commitf39c001c03aaaef9737f1b302a948455de6eefd7 (patch)
tree60164aefa5dd57e4ecd32f6fcd85115a33d11102 /test
parent6d84afd16d214c7e07d9f55e633dbcb0032473bc (diff)
downloadcowboy-f39c001c03aaaef9737f1b302a948455de6eefd7.tar.gz
cowboy-f39c001c03aaaef9737f1b302a948455de6eefd7.tar.bz2
cowboy-f39c001c03aaaef9737f1b302a948455de6eefd7.zip
Rename cowboy_http_static to cowboy_static
Diffstat (limited to 'test')
-rw-r--r--test/http_SUITE.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 60cbbe7..6bed436 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -227,21 +227,21 @@ init_dispatch(Config) ->
[{body, <<"A flameless dance does not equal a cycle">>}]},
{[<<"stream_body">>, <<"set_resp">>], http_handler_stream_body,
[{reply, set_resp}, {body, <<"stream_body_set_resp">>}]},
- {[<<"static">>, '...'], cowboy_http_static,
+ {[<<"static">>, '...'], cowboy_static,
[{directory, ?config(static_dir, Config)},
{mimetypes, [{<<".css">>, [<<"text/css">>]}]}]},
- {[<<"static_mimetypes_function">>, '...'], cowboy_http_static,
+ {[<<"static_mimetypes_function">>, '...'], cowboy_static,
[{directory, ?config(static_dir, Config)},
{mimetypes, {fun(Path, data) when is_binary(Path) ->
[<<"text/html">>] end, data}}]},
{[<<"handler_errors">>], http_handler_errors, []},
- {[<<"static_attribute_etag">>, '...'], cowboy_http_static,
+ {[<<"static_attribute_etag">>, '...'], cowboy_static,
[{directory, ?config(static_dir, Config)},
{etag, {attributes, [filepath, filesize, inode, mtime]}}]},
- {[<<"static_function_etag">>, '...'], cowboy_http_static,
+ {[<<"static_function_etag">>, '...'], cowboy_static,
[{directory, ?config(static_dir, Config)},
{etag, {fun static_function_etag/2, etag_data}}]},
- {[<<"static_specify_file">>, '...'], cowboy_http_static,
+ {[<<"static_specify_file">>, '...'], cowboy_static,
[{directory, ?config(static_dir, Config)},
{mimetypes, [{<<".css">>, [<<"text/css">>]}]},
{file, <<"test_file.css">>}]},