aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoffrey Roguelon <geoffrey.roguelon@gmail.com>2013-10-03 10:26:19 +0200
committerGeoffrey Roguelon <geoffrey.roguelon@gmail.com>2013-10-03 10:26:19 +0200
commit54c1cdf4ce36fd4d0a5e7036d61ad35a9e8841e3 (patch)
tree0deec0151655e193403b029c3868d8278078e1c3
parent5f5b88fc5ef543c34e1ae20fe65ffbf759e465e0 (diff)
downloadrails-54c1cdf4ce36fd4d0a5e7036d61ad35a9e8841e3.tar.gz
rails-54c1cdf4ce36fd4d0a5e7036d61ad35a9e8841e3.tar.bz2
rails-54c1cdf4ce36fd4d0a5e7036d61ad35a9e8841e3.zip
Fix a typo in the code of Testing guide.
Replace the word «Accepts» by «Accept» in the example of custom request headers.
-rw-r--r--guides/source/testing.md2
1 files changed, 1 insertions, 1 deletions
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