Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12431 from GRoguelon/master

Fix a typo in the code of Testing guide. [ci skip]
  • Loading branch information...
commit 2dabee25176b6fef7255bbcc1f9641cdd5d6514c 2 parents 5f5b88f + 54c1cdf
@senny senny authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.