spec-kemal/spec/spec_helper.cr

14 lines
190 B
Crystal
Raw Normal View History

2016-04-09 14:37:46 +00:00
require "spec"
2016-04-10 14:13:25 +00:00
require "kemal"
2016-04-09 14:37:46 +00:00
require "../src/spec-kemal"
2016-12-10 16:55:26 +00:00
Spec.before_each do
config = Kemal.config
config.env = "test"
config.setup
end
Spec.after_each do
Kemal.config.clear
end