Extracted method to spec helper for todo list items