[rspec-users] 0.9.2 redirect_to no longer accepts hash?

Chris Hoffman chris.c.hoffman at gmail.com
Thu May 3 13:09:35 EDT 2007


Why am I now getting these errors?

expected redirect to {:action=>"index"}, got redirect to
"http://test.host/authenticated_users"

I know in the AuthenticatedUsersController, the redirect call is

redirect_to :action => 'index'

So why should I have to convert this to a url in my specs?


More information about the rspec-users mailing list