aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-04-25 03:54:46 +0000
committerRick Olson <technoweenie@gmail.com>2006-04-25 03:54:46 +0000
commit51cd1aec00c182c6789f09f9bf40365934034bcd (patch)
tree012105a1b37de543ed13b513285a006aa181112d /actionpack/CHANGELOG
parent71a570ffd7ecc94b5b474c659a34e36a29989a65 (diff)
downloadrails-51cd1aec00c182c6789f09f9bf40365934034bcd.tar.gz
rails-51cd1aec00c182c6789f09f9bf40365934034bcd.tar.bz2
rails-51cd1aec00c182c6789f09f9bf40365934034bcd.zip
Fix assert_redirected_to tests according to real-world usage.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 25e5643aa1..f037861288 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,10 @@
*SVN*
+* Fix assert_redirected_to tests according to real-world usage. Also, don't fail if you add an extra :controller option: [Rick]
+
+ redirect_to :action => 'new'
+ assert_redirected_to :controller => 'monkeys', :action => 'new'
+
* Cache CgiRequest#request_parameters so that multiple calls don't re-parse multipart data. [Rick]
* Diff compared routing options. Allow #assert_recognizes to take a second arg as a hash to specify optional request method [Rick]