mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Refactor spec helper classes locations and visibility
This commit is contained in:
parent
ad91a22789
commit
5d65bcb3b9
5 changed files with 35 additions and 28 deletions
|
@ -1,5 +1,12 @@
|
|||
require "./spec_helper"
|
||||
|
||||
private class CustomTestHandler < Kemal::Handler
|
||||
def call(env)
|
||||
env.response << "Kemal"
|
||||
call_next env
|
||||
end
|
||||
end
|
||||
|
||||
describe "Config" do
|
||||
it "sets default port to 3000" do
|
||||
config = Kemal::Config.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue