Update README.md

This commit is contained in:
Serdar Dogruyol 2016-04-10 21:03:23 +03:00
parent ce27b796c1
commit 56d6941412
1 changed files with 4 additions and 3 deletions

View File

@ -50,9 +50,10 @@ Now you can easily test your `Kemal` application in your `spec`s.
describe "Your::Kemal::App" do
# Be sure to start your app in test mode
start
it "renders #index" do
response = HTTP::Client.get "http://localhost:3000/"
# You can use get,post,put,patch,delete to call the corresponding route.
it "renders /" do
response = get "/"
response.body.should eq "Hello World!"
end