fixed invalid speccs

This commit is contained in:
Abdullah Alhusaini 2024-07-29 23:01:52 +03:00
parent 13cba1d164
commit e573997f76

View file

@ -26,7 +26,7 @@ describe "Run" do
end
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.run
puts Kemal.config.running
@ -34,7 +34,7 @@ describe "Run" do
end
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.run do |config|
server = config.server.not_nil!