mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults
This commit is contained in:
parent
725e051723
commit
09d9e708f1
10 changed files with 48 additions and 40 deletions
|
@ -26,7 +26,7 @@ describe "Config" do
|
|||
it "adds a custom handler" do
|
||||
config = Kemal.config
|
||||
config.add_handler CustomTestHandler.new
|
||||
config.handlers.size.should eq(5)
|
||||
config.handlers.size.should eq(6)
|
||||
end
|
||||
|
||||
it "adds custom options" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue