updated controllers/repo.js spec