Refactored manage_todos_spec.rb.