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. email: Harry.potter@student.hogwards.ed.uk
  4. nickname: Harry Potter
  5.  
  6. ron:
  7. name: Ron
  8. email: wonwon@wizzmail.co.uk
  9. nickname: KeeperP0wner
  10.  
  11. ginny_space_in_name:
  12. name: Ginny Weasley
  13. email: g.weasly@student.hogwards.ed.uk
  14. nickname: Ginny<3
  15.  
  16. draco_malfoy_in_email:
  17. name: Malfoy
  18. email: draco-malfoy-invalid
  19. nickname: D.Malfoy
  20.  
  21. crabbe_ugly_nick:
  22. name: Crabbe
  23. email: crabbe@student.hogwards.ed.uk
  24. nickname: ..**~~00(((crabbe!!!!!11111!oneoneoneonew00t)))00~~**..
  25.  
  26.  
  27. voldemort:
  28. name:
  29. email: volly@evilhq.hu
  30. nickname: he_who_must_not_be_named

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.