Find missing RSpec view tests March 16, 2009
Posted by John Dewey in Code, RSpec, Rake.trackback
I created a quick little rake task which finds missing RSpec view tests. It assumes the extension is .haml, however, this can be overridden with the EXTENSION environment variable.
rake spec:missing_view_templates or EXTENSION=erb rake spec:missing_view_templates
maybe this could be made mor universal by aggregating all paths (regardless of extension) and then matching this list with spec files ?
Yeah, it probably could. Feel free to fork it and post a follow-up.