summaryrefslogtreecommitdiff
path: root/db/fixtures/development/16_protected_branches.rb
blob: 2b492ac1f61a764045e9ea0c631c5a3e1125b0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require './spec/support/sidekiq'

Gitlab::Seeder.quiet do
  admin_user = User.find(1)

  Project.not_mass_generated.each do |project|
    params = {
      name: 'master'
    }

    ProtectedBranches::CreateService.new(project, admin_user, params).execute
    print '.'
  end
end