Hi, I have an index action in one controller. This action redirects you to an account_options action (in another controller) if a session var is set or it redirects the user to login (which is also in a diff controller from the index action). I get strange behavior when testing this action. The login redirect only seems to work if I use the following as strings (which I believe is the correct way): assert_redirected_to :controller => ''accounts'', :action => ''login'' Yet, testing the redirect to account_options only passes when I put the controller and action as symbols. Such as: assert_redirected_to :controller => :accounts, :action => :account_options Any idea why this occurs? Thanks, Ray -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---