summaryrefslogtreecommitdiff
path: root/db/fixtures/development/05_users.rb
blob: 3440a645408385293008c833ce3ec1c3d411c087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Gitlab::Seeder.quiet do
  (2..10).each  do |i|
    begin
      User.seed(:id, [{
        id: i,
        username: Faker::Internet.user_name,
        name: Faker::Name.name,
        email: Faker::Internet.email,
      }])
      print '.'
    rescue ActiveRecord::RecordNotSaved
      print 'F'
    end
  end
end