mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add app reference to the handlers which are bound to the app
This commit is contained in:
parent
dc93bb2235
commit
72bcac6dd5
12 changed files with 58 additions and 49 deletions
|
@ -64,7 +64,6 @@ describe "Context" do
|
|||
io = IO::Memory.new
|
||||
response = HTTP::Server::Response.new(io)
|
||||
context = HTTP::Server::Context.new(request, response)
|
||||
context.app = app
|
||||
app.filter_handler.call(context)
|
||||
app.route_handler.call(context)
|
||||
context.store["key"].should eq "value"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue