From e573997f76ac0335d989360c8fe886470a1536b4 Mon Sep 17 00:00:00 2001 From: Abdullah Alhusaini Date: Mon, 29 Jul 2024 23:01:52 +0300 Subject: [PATCH] fixed invalid speccs --- spec/run_spec.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/run_spec.cr b/spec/run_spec.cr index ec89d23..a629eac 100644 --- a/spec/run_spec.cr +++ b/spec/run_spec.cr @@ -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!