• Timothy Andrew's avatar
    Add EE-specific fixes for the branch protection API. · af0a527d
    Timothy Andrew authored
    1. Add an EE-specific spec.
    
    2. The code deleting redundant access levels is different for EE, since
       EE protected branches can have 0 or more access levels, while CE
       protected branches can have a single access level.
    
    Existing access levels (apart from 'developer' access levels) should not
    be removed while using the branch protection API.
    af0a527d
branches_spec.rb 14.1 KB