It is recommended to use the following style instead of calling `should` on objects:
    `expect(response).to redirect_to([repository, :ontologies])`.