mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
added verb for filters and minor improvements
This commit is contained in:
parent
62e9170baf
commit
c5201f01ad
13 changed files with 259 additions and 92 deletions
|
@ -3,7 +3,7 @@ require "./spec_helper"
|
|||
describe "Route" do
|
||||
describe "match?" do
|
||||
it "matches the correct route" do
|
||||
kemal = Kemal::RouteHandler.new
|
||||
kemal = Kemal::RouteHandler::INSTANCE
|
||||
kemal.add_route "GET", "/route1" do |env|
|
||||
"Route 1"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue