spec-kemal/spec/spec_helper.cr
2016-12-10 19:55:51 +03:00

13 lines
190 B
Crystal

require "spec"
require "kemal"
require "../src/spec-kemal"
Spec.before_each do
config = Kemal.config
config.env = "test"
config.setup
end
Spec.after_each do
Kemal.config.clear
end