mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Actually there's no middleware anymore
This commit is contained in:
parent
1afb4cbfa8
commit
eb64b52f84
7 changed files with 17 additions and 19 deletions
|
@ -52,7 +52,7 @@ describe "Context" do
|
|||
io = IO::Memory.new
|
||||
response = HTTP::Server::Response.new(io)
|
||||
context = HTTP::Server::Context.new(request, response)
|
||||
Kemal::Middleware::Filter::INSTANCE.call(context)
|
||||
Kemal::FilterHandler::INSTANCE.call(context)
|
||||
Kemal::RouteHandler::INSTANCE.call(context)
|
||||
context.store["key"].should eq "value"
|
||||
context.store["before_get"].should eq "Kemal"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue