Harry Potter characters fixture


/ Published in: Other
Save to your folder(s)

Just a funny, yet usefull fixture for testing users in a rails app.
Using "somewhat real" fixtures, will keep testing both fun and realistic.
Knowing that "Crabbe_ugly_nick" failed, is a lot easier to communicate then knowing "user_t_x01 failed"


Copy this code and paste it in your HTML
  1. harry:
  2. name: Harry
  3. nickname: Harry Potter
  4.  
  5. ron:
  6. name: Ron
  7. nickname: KeeperP0wner
  8.  
  9. ginny_space_in_name:
  10. name: Ginny Weasley
  11. nickname: Ginny<3
  12.  
  13. draco_malfoy_in_email:
  14. name: Malfoy
  15. email: draco-malfoy-invalid
  16. nickname: D.Malfoy
  17.  
  18. crabbe_ugly_nick:
  19. name: Crabbe
  20. nickname: ..**~~00(((crabbe!!!!!11111!oneoneoneonew00t)))00~~**..
  21.  
  22.  
  23. voldemort:
  24. name:
  25. nickname: he_who_must_not_be_named

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.