mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add add_handler macro
This commit is contained in:
parent
6a4ed2d9eb
commit
eb4c82043a
4 changed files with 18 additions and 7 deletions
|
@ -1,11 +1,5 @@
|
|||
require "./spec_helper"
|
||||
|
||||
class CustomTestHandler < HTTP::Handler
|
||||
def call(request)
|
||||
call_next request
|
||||
end
|
||||
end
|
||||
|
||||
describe "Config" do
|
||||
it "sets default port to 3000" do
|
||||
config = Kemal.config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue