Skip to content
Browse files

Fix a typo in the code of Testing guide.

Replace the word «Accepts» by «Accept» in the example of custom request headers.
  • Loading branch information...
1 parent 5f5b88f commit 54c1cdf4ce36fd4d0a5e7036d61ad35a9e8841e3 @GRoguelon GRoguelon committed Oct 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/testing.md
View
2 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

0 comments on commit 54c1cdf

Please sign in to comment.
Something went wrong with that request. Please try again.