Hi,

>From the docs I see:
http://api.rubyonrails.org/classes/ActionController/Assertions/ResponseAssertions.html

This match can be partial, such that assert_redirected_to(:controller =>
"weblog") will also match the redirection of redirect_to(:controller =>
"weblog", :action => "show") and so on


But it my case it does not work. As assert_redirected_to(:controller =>
'articles') expects the index action of ArticlesController to be
triggered.


Any idea why I'm getting this behavior?
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to