Refactor RepositoryService disconnect_alternates spec
What does this MR do and why?
The tests for RepositoryService should only be checking that the stubs are called and that the responses are interpreted correctly. The actual functionality is tested further up the stack on Git::Repository
. So rewrote this test to match the rest of the spec file.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen