Refactored controller specs