Refactored domains_controller spec