mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Rename handlers
This commit is contained in:
parent
a4005e98be
commit
467a1b4581
12 changed files with 40 additions and 40 deletions
|
@ -3,7 +3,7 @@ require "./spec_helper"
|
|||
describe "Route" do
|
||||
describe "match?" do
|
||||
it "matches the correct route" do
|
||||
kemal = Kemal::Handler.new
|
||||
kemal = Kemal::RouteHandler.new
|
||||
kemal.add_route "GET", "/route1" do |env|
|
||||
"Route 1"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue