mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
New option to set application name (#606)
This commit is contained in:
parent
3fee068636
commit
de5e022222
3 changed files with 12 additions and 4 deletions
|
@ -58,4 +58,11 @@ describe "Config" do
|
|||
it "gets the version from shards.yml" do
|
||||
Kemal::VERSION.should_not be("")
|
||||
end
|
||||
|
||||
it "sets application name" do
|
||||
config = Kemal.config
|
||||
config.app_name.should eq "Kemal"
|
||||
config.app_name = "testapp"
|
||||
config.app_name.should eq "testapp"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue