From 54c1cdf4ce36fd4d0a5e7036d61ad35a9e8841e3 Mon Sep 17 00:00:00 2001 From: Geoffrey Roguelon Date: Thu, 3 Oct 2013 10:26:19 +0200 Subject: Fix a typo in the code of Testing guide. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the word «Accepts» by «Accept» in the example of custom request headers. --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/testing.md b/guides/source/testing.md index 50115607c9..edf4813d74 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -534,7 +534,7 @@ instance variable: ```ruby # setting a HTTP Header -@request.headers["Accepts"] = "text/plain, text/html" +@request.headers["Accept"] = "text/plain, text/html" get :index # simulate the request with custom header # setting a CGI variable -- cgit v1.2.3