diff --git a/README.md b/README.md index 0bde242..6f6f44e 100644 --- a/README.md +++ b/README.md @@ -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