From 56d69414125a8213c5b3f1c473b00fbb3aee247a Mon Sep 17 00:00:00 2001 From: Serdar Dogruyol Date: Sun, 10 Apr 2016 21:03:23 +0300 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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