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 =>

Any idea why this occurs?