Related to my last post about testing cache and some curiosity about Shoulda I made a branch of it to add some helper methods for testing cache generation and expiration:
should_cache_fragment should_cache_action should_expire_fragment should_not_expire_action ...The good thing was to investigate how shoulda was organized, the test suite it has and that is so easy to hack.
I submited a ticket that I hope the authors approve in next days.
by Genís