assert_latest and greatest

by Phlip

When a test case calls methods that write new records to a database, sometimes the test needs to fetch those records back and inspect them. This post develops assert_latest, an assertion that detects newly created records.


Gregory Brown
2007-07-29 16:14:51
Hi Phlip,

Perhaps you can consider posting on O'Reilly Ruby? We can use some more content there, and some folks are definitely interested in Rails stuff over there.