refactored relationships controller spec