Sean’s Obsessions


  • I'm a happy Linode customer. This is a Linode 540 VPS.
  • Archives

Archive for September, 2009

03 Sep

Shoulda, nested contexts, and should_change_by

I love some of shoulda’s macros, partially because it forces me to think about my tests and put them in setup blocks, which ends up making things cleaner.
So I ran into a case where I do an action and use should_change to make sure that a certain number of rows were added to a table, [...]

© 2010 Sean’s Obsessions | Entries (RSS) and Comments (RSS)

Powered by Wordpress, design by Web4Sudoku, based on Pinkline byGPS Gazette