reset values to test with default value (#453)

This commit is contained in:
Hirofumi Shibata 2018-06-18 21:07:54 +09:00 committed by Serdar Dogruyol
parent 58bf05b8b1
commit f916bad095
2 changed files with 4 additions and 5 deletions

View file

@ -54,6 +54,7 @@ module Kemal
end
def clear
@powered_by_header = true
@router_included = false
@handler_position = 0
@default_handlers_setup = false