Test Rails generators with RSpec WWW: https://github.com/stevehodgkiss/generator_spec