mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Add public_folder macro
This commit is contained in:
parent
b7ec6014aa
commit
aaa2ee1e31
3 changed files with 9 additions and 14 deletions
|
@ -28,4 +28,9 @@ describe "Config" do
|
|||
config.add_handler CustomTestHandler.new
|
||||
config.handlers.size.should eq(1)
|
||||
end
|
||||
|
||||
it "sets public folder" do
|
||||
public_folder "/some/path/to/folder"
|
||||
Kemal.config.public_folder.should eq("/some/path/to/folder")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue