[rspec-users] .html.erb files and autotest

David Chelimsky dchelimsky at gmail.com
Mon Jan 14 19:57:42 EST 2008


On Jan 14, 2008 6:46 PM, Kero van Gelder <rspec-users at kero.tmfweb.nl> wrote:
> > The benefit of doing that is it spots files that you may not have
> > spec'd that you want spec'd. On the flip side you end up with a bunch
> > of noise but you can eliminate that w/ the :initialize hook:
> >
> > Autotest.add_hook :initialize do |at|
> >   at.add_exception 'some_file_i_want_ignored'
> > end
> >
> > That goes in .autotest in the root of your project, where you type the
> > autotest command.
>
> I'm probably too much of a Ruby coder, but an Exception is an existing
> Ruby class. add_exception seems strange to me.
>
> How about at.except, at.ignore_file or at.ignore ?
> I like the last one best.

Good point. Wrong list. That's autotest. Try submitting a request in
the ZenTest tracer:

http://rubyforge.org/projects/zentest

Cheers,
David

>
> Bye,
> Kero.
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list