shoulda
Shmacros
I use shoulda constantly as it is my favorite testing framework. I figured the custom macros I write may prove useful to others, thus I released them as a plugin called shmacros. As of now it includes the following methods.
should_accept_nested_attributes_for should_act_as_taggable_on should_be should_callback should_delegate should_have_attached_file (removed in new revision) should_validate_associated
<p>It’s best to have <a href=”http://mocha.rubyforge.org”>Mocha</a> installed as some of the macros [...]