From 11157d24845ca93e9b0856bb06ff0672a5c18e0b Mon Sep 17 00:00:00 2001 From: Serdar Dogruyol Date: Wed, 26 Oct 2016 18:00:56 +0300 Subject: [PATCH] Upcase method names --- src/spec-kemal.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec-kemal.cr b/src/spec-kemal.cr index 54534bb..5e9ade7 100644 --- a/src/spec-kemal.cr +++ b/src/spec-kemal.cr @@ -16,7 +16,7 @@ end {% for method in %w(get post put head delete patch) %} def {{method.id}}(path, headers : HTTP::Headers? = nil, body : String? = nil) - request = HTTP::Request.new("{{method.id}}", path, headers, body ) + request = HTTP::Request.new("{{method.id}}".upcase, path, headers, body ) Global.response = process_request request end {% end %}