mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
parent
54e501e964
commit
b7ce53e5ab
9 changed files with 44 additions and 25 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue