Refactor merge request report specs
What does this MR do and why?
Describe in detail what your merge request does and why.
ee/spec/controllers/projects/merge_requests_controller_spec.rb
has the same test-cases copy-pasted several times. This MR deduplicates them by using shared examples.
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 Brian Williams