Remise en place de quelques données de test pour une éventuelle nouvelle instance

This commit is contained in:
echarp 2014-08-09 19:04:03 +02:00
parent 3e43861323
commit e68dbedc50

View File

@ -10,11 +10,11 @@
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first) # Mayor.create(name: 'Emanuel', city: cities.first)
# City.create name: 'Rennes' City.create name: 'Rennes'
# Region.create name: 'Bretagne' Region.create name: 'Bretagne'
# Region.create name: 'My very first region' Region.create name: 'My very first region'
# User.create login: 'admin@example.com', email: 'admin@example.com', User.create login: 'admin@example.com', email: 'admin@example.com',
# password: 'password' password: 'password'
AdminUser.create email: 'admin@example.com', password: 'password' AdminUser.create email: 'admin@example.com', password: 'password'