From 3db57bde1ef435a38337f6db298b851c8a4ad10c Mon Sep 17 00:00:00 2001 From: Everest Munro-Zeisberger Date: Thu, 18 Aug 2016 14:00:38 -0400 Subject: Set the request type if as: is specified Documentation & testing --- actionpack/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 1fb7e20417..7d1f67eec0 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,8 @@ +* 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...` + * Show cache hits and misses when rendering partials. Partials using the `cache` helper will show whether a render hit or missed -- cgit v1.2.3