Refactored projects/controller spec