Refactor project controller spec