As much as we all might like to throw out legacy code, and “do it right,” that’s often an entirely impractical option or just a plain dumb thing to do.
If you have had any trouble figuring out how to test your presenter classes (or any classes that respond to events), I recommend trying this technique.
Recently we’ve released a plugin, migration_test_helper, which makes it easier to test the migrations you create for a Rails app individually and as a whole.