• Timothy Andrew's avatar
    Fix specs for `GitAccess` and `UserAccess`. · 096b46ca
    Timothy Andrew authored
    - 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.
    096b46ca
git_access_spec.rb 25.6 KB