diff options
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 7d1f67eec0..9dab1cc76a 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,7 +1,9 @@ * Add `:as` option to `ActionController:TestCase#process` and related methods. - - Specifying as: :mime_type allows the `CONTENT_TYPE` header to be specified - in controller tests without manually doing this through `@request.headers...` + + Specifying `as: mime_type` allows the `CONTENT_TYPE` header to be specified + in controller tests without manually doing this through `@request.headers['CONTENT_TYPE']`. + + *Everest Stefan Munro-Zeisberger* * Show cache hits and misses when rendering partials. |