refactoring controller specs: