Hi
I have a weird issue on functional testing
Here is the redirect I have in my controller:
redirect_to :controller => "/param/user", :action => :edit, :id
=> @current_user.id
And here is my functional test:
assert_redirected_to :controller => “/param/user”, :action
=> :edit, :id => users(:vincent).id
And when I run test I have this error (users(:vincent).id = 4)
response is not a redirection to all of the options supplied
(redirection is <{:controller=>"/param/user", :action=>:edit, :id=>4}
), difference: <{}>
AThere is no difference but it raises a failure.
Did I do something wong?
Seb