From b8c264f1733974216d2b41bf60dfc2118810c5d6 Mon Sep 17 00:00:00 2001 From: Trevor Turk Date: Thu, 3 Mar 2016 12:32:15 -0600 Subject: [PATCH] Checks doc: add an example for the simple check for the Rails deployment example --- docs/checks-examples.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/checks-examples.md b/docs/checks-examples.md index 6b673e46d..8897e9262 100644 --- a/docs/checks-examples.md +++ b/docs/checks-examples.md @@ -109,7 +109,11 @@ ATTEMPTS=6 /check.txt simple_check ```` -> check.txt is a text file returning the string 'simple_check' +For this check to work, we've added a line to `config/routes.rb` that simply returns a string: + +```` +get '/check.txt', to: proc {[200, {}, ['simple_check']]} +```` ### Deploy Output