From c759a93454b10d9a908d3a3a102546fc70160b91 Mon Sep 17 00:00:00 2001 From: Victor Costan Date: Sun, 24 Nov 2013 22:46:58 -0500 Subject: Better error message for typos in assert_response argument. This commit makes it really easy to debug errors due to typos like "assert_response :succezz". --- actionpack/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 638c05619d..e649847990 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,11 @@ +* Better error message for typos in assert_response argument. + + When the response type argument to `assert_response` is not a known + response type, `assert_response` now throws an ArgumentError with a clear + message. This is intended to help debug typos in the response type. + + *Victor Costan* + * Fix formatting for `rake routes` when a section is shorter than a header. *Sıtkı Bağdat* -- cgit v1.2.3