[controller/spec] fix 'populates an array of courses'