mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
fixed invalid speccs
This commit is contained in:
parent
13cba1d164
commit
e573997f76
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ describe "Run" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "runs without a block being specified" do
|
it "runs without a block being specified" do
|
||||||
run(<<-CR).should eq "[test] Kemal is ready to lead at http://0.0.0.0:3000\ntrue\n"
|
run(<<-CR).should contain "[test] Kemal is running in test mode."
|
||||||
Kemal.config.env = "test"
|
Kemal.config.env = "test"
|
||||||
Kemal.run
|
Kemal.run
|
||||||
puts Kemal.config.running
|
puts Kemal.config.running
|
||||||
|
@ -34,7 +34,7 @@ describe "Run" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "allows custom HTTP::Server bind" do
|
it "allows custom HTTP::Server bind" do
|
||||||
run(<<-CR).should eq "[test] Kemal is ready to lead at http://127.0.0.1:3000, http://0.0.0.0:3001\n"
|
run(<<-CR).should contain "[test] Kemal is running in test mode."
|
||||||
Kemal.config.env = "test"
|
Kemal.config.env = "test"
|
||||||
Kemal.run do |config|
|
Kemal.run do |config|
|
||||||
server = config.server.not_nil!
|
server = config.server.not_nil!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue