I thought it would be better only to test that this redirects to user_path as it is in the code. Then the users_controller redirects to the student_path. Because this is already tested in users_controller_spec I only tested the redirect to the users_controller.