Refactor spec helper classes locations and visibility

This commit is contained in:
Johannes Müller 2017-07-20 15:23:32 +02:00 committed by sdogruyol
parent ad91a22789
commit 5d65bcb3b9
5 changed files with 35 additions and 28 deletions

View file

@ -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