Skip to content

Refactor RepositoryService disconnect_alternates spec

James Fargher requested to merge repository_service_spec_cleanup into master

What does this MR do and why?

&8396

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.

Edited by Peter Leitzen

Merge request reports

Loading