aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-11-25 00:10:45 -0800
committerYves Senn <yves.senn@gmail.com>2013-11-25 00:10:45 -0800
commit051a520b8c920cd6ed15f9e237343a306b7bdfa0 (patch)
tree1884d7aac3fc0d32bc45bafa7cf53f22a63493eb /actionpack/CHANGELOG.md
parent9dc89f3fc425af5cfc5fa5ea3809e554db017653 (diff)
parentc759a93454b10d9a908d3a3a102546fc70160b91 (diff)
downloadrails-051a520b8c920cd6ed15f9e237343a306b7bdfa0.tar.gz
rails-051a520b8c920cd6ed15f9e237343a306b7bdfa0.tar.bz2
rails-051a520b8c920cd6ed15f9e237343a306b7bdfa0.zip
Merge pull request #13025 from pwnall/nice_test
Better error message for typos in assert_response argument.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md8
1 files changed, 8 insertions, 0 deletions
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*