mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
All specs passing except macros
This commit is contained in:
parent
c6e9e7a827
commit
d1f95c0f39
17 changed files with 243 additions and 247 deletions
|
@ -11,8 +11,9 @@ describe "Route" do
|
|||
"Route 2"
|
||||
end
|
||||
request = HTTP::Request.new("GET", "/route2")
|
||||
response = kemal.call(request)
|
||||
response.body.should eq("Route 2")
|
||||
io_with_context = create_request_and_return_io(kemal, request)
|
||||
client_response = HTTP::Client::Response.from_io(io_with_context, decompress: false)
|
||||
client_response.body.should eq("Route 2")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue