upgrade url_for stubbing to rails 3.1 style