users.yml 929 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
  2. daniel:
  3. login: daniel_1234
  4. name: Daniel Smith
  5. email: daniel.smith@example.com
  6. password_digest: <%= User.digest('password') %>
  7. birth_date: <%= 27.years.ago %>
  8. ben:
  9. login: ben_4321
  10. name: Ben Jones
  11. email: ben.jones@example.com
  12. password_digest: <%= User.digest('password') %>
  13. birth_date: <%= 29.years.ago %>
  14. jane:
  15. login: jane_5678
  16. name: Jane Doe
  17. email: jane.doe@example.com
  18. password_digest: <%= User.digest('password') %>
  19. birth_date: <%= 30.years.ago %>
  20. billy:
  21. login: billy_9876
  22. name: Billy McDonald
  23. email: billy.mcdonald@example.com
  24. password_digest: <%= User.digest('password') %>
  25. birth_date: <%= 11.years.ago %>
  26. school: two
  27. admin:
  28. login: admin
  29. name: Admin Administrator
  30. email: admin@example.com
  31. password_digest: <%= User.digest('password') %>
  32. birth_date: <%= Time.now %>
  33. admin: true