Update README.md
This commit is contained in:
parent
ce27b796c1
commit
56d6941412
1 changed files with 4 additions and 3 deletions
|
@ -51,8 +51,9 @@ describe "Your::Kemal::App" do
|
||||||
# Be sure to start your app in test mode
|
# Be sure to start your app in test mode
|
||||||
start
|
start
|
||||||
|
|
||||||
it "renders #index" do
|
# You can use get,post,put,patch,delete to call the corresponding route.
|
||||||
response = HTTP::Client.get "http://localhost:3000/"
|
it "renders /" do
|
||||||
|
response = get "/"
|
||||||
response.body.should eq "Hello World!"
|
response.body.should eq "Hello World!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue