mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Allow for disabling the shutdown message (#292)
Allow for disabling the shutdown message
This commit is contained in:
parent
209a9e576c
commit
c08bf71d88
3 changed files with 12 additions and 2 deletions
|
@ -29,6 +29,14 @@ describe "Config" do
|
|||
config.handlers.size.should eq(6)
|
||||
end
|
||||
|
||||
it "toggles the shutdown message" do
|
||||
config = Kemal.config
|
||||
config.shutdown_message = false
|
||||
config.shutdown_message.should eq false
|
||||
config.shutdown_message = true
|
||||
config.shutdown_message.should eq true
|
||||
end
|
||||
|
||||
it "adds custom options" do
|
||||
config = Kemal.config
|
||||
ARGV.push("--test")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue