Fix ssl and specs for 0.18

This commit is contained in:
Omar Roth 2016-06-14 16:18:00 -05:00
parent 74044d62e9
commit ac4a5afc05
8 changed files with 35 additions and 35 deletions

View file

@ -6,7 +6,7 @@ describe "Kemal::Middleware::HTTPBasicAuth" do
request = HTTP::Request.new(
"GET",
"/",
headers: HTTP::Headers{"Authorization": "Basic c2VyZGFyOjEyMw=="},
headers: HTTP::Headers{"Authorization" => "Basic c2VyZGFyOjEyMw=="},
)
io_with_context = create_request_and_return_io(auth_handler, request)
@ -19,7 +19,7 @@ describe "Kemal::Middleware::HTTPBasicAuth" do
request = HTTP::Request.new(
"GET",
"/",
headers: HTTP::Headers{"Authorization": "NotBasic"},
headers: HTTP::Headers{"Authorization" => "NotBasic"},
)
io_with_context = create_request_and_return_io(auth_handler, request)
client_response = HTTP::Client::Response.from_io(io_with_context, decompress: false)