From faaa57f1c016d8e175e0fa9cbb922c00d4987b65 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Thu, 3 Oct 2013 02:42:11 -0700 Subject: [PATCH] Merge pull request #12431 from GRoguelon/master Fix a typo in the code of Testing guide. [ci skip] --- 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 0d0228d7d4cf2..9c2c60d155c43 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