You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
419 B

12 years ago
after 'development:users' do
entrydns_org = Domain.find_by_name(Settings.host_domains.first)
User.all.each do |user|
11 years ago
20.times do
11 years ago
domain = FactoryGirl.build(:domain, :user => user)
11 years ago
domain.setup(FactoryGirl.generate(:email))
domain.save!
domain.soa_record.update_serial!
end
12 years ago
11 years ago
20.times do
11 years ago
FactoryGirl.create(:a, :user => user, :domain => entrydns_org)
12 years ago
end
end
end