Add feature tests for merge request approval policy
What does this MR do and why?
Add feature tests for merge request approval policy on project level
This MR covers all invalid polices and tests backend validation
EE: true
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
*** NO VISUAL CHANGES***
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
bundle exec rspec ee/spec/features/projects/security/user_creates_merge_request_approval_policy_spec.rb
Related to #486692
Edited by Artur Fedorov