Amazon

Tuesday, November 10, 2009

assert_false

Ruby has a pretty good unit-test framework. However, it is annoying that assert_false does not come built-in. So, here is my own that I use in my Rails applications' test code:

Enjoy!

No comments: