Fix specs for `GitAccess` and `UserAccess`.
- As part of gitlab-org/gitlab-ce!5824, the `protected_branches` factory creates default `MASTER` access levels for merging and pushing. - Some specs rely on the condition that no pre-existing access levels exist when a protected branch is created, and these specs were failing. - Added a factory trait to remove the default access levels.
Showing
Please register or sign in to comment