Crystal 0.21.0 support (#304)

Crystal 0.21.0 support
This commit is contained in:
Serdar Dogruyol 2017-02-21 21:24:11 +02:00 committed by GitHub
parent 54e501e964
commit b7ce53e5ab
9 changed files with 44 additions and 25 deletions

View file

@ -117,9 +117,9 @@ describe "Macros" do
end
describe "#gzip" do
it "adds HTTP::DeflateHandler to handlers" do
it "adds HTTP::CompressHandler to handlers" do
gzip true
Kemal.config.handlers[4].should be_a(HTTP::DeflateHandler)
Kemal.config.handlers[4].should be_a(HTTP::CompressHandler)
end
end