Refactor protected branch resource and spec
What does this MR do?
EE port of CE MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32689
Updates EE tests to visit the project page after using ProjectPush
.
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Performance and Testing
Edited by Mark Lapierre