Displaying 1 result from an estimated 1 matches for "assert_redirect_to".
Did you mean:
asserts_redirect_to
2006 Dec 11
1
assert_redirected_to error
...rs(:nathan).id
get :accept, { :id => 1 }
assert_redirected_to :controller => "/users/profile", :action =>
"index", :id => users(:nathan).id
end
When I run this I get:
RuntimeError: The number of parameters does not match the number of
substitutions. on the assert_redirect_to line.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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 fr...