• Timothy Andrew's avatar
    Fix the protected branches factory. · 37651d2f
    Timothy Andrew authored
    1. Previously, we were using `after_create` to create access levels.
    
    2. At the time of protected branch creation, there are _no_ access
       levels present, which is invalid, and creation fails.
    
    3. Fixed by setting access levels before the protected branch is created.
    37651d2f
protected_branches.rb 887 Bytes