This commit is contained in:
Sdogruyol 2016-07-17 14:31:45 +03:00
parent 6ffa4af0e1
commit 4edebcf8eb
6 changed files with 12 additions and 13 deletions

View file

@ -166,7 +166,7 @@ describe "Kemal::RouteHandler" do
end
it "sets X-Powered-By to Kemal" do
get "/" {}
get "/" { }
request = HTTP::Request.new("GET", "/")
client_response = call_request_on_app(request)
client_response.headers["X-Powered-By"].should eq("Kemal")