Thanks David. I was able to key of some of what you said in the
blog. The solution for me was to add the following to my .autotest:
Autotest.add_hook :initialize do |at|
at.add_mapping(%r%^spec/(integration)/.*rb$%) { |filename, _|
filename
}
end
On Feb 19, 6:26?pm, David Chelimsky <dchelim... at gmail.com>
wrote:> On Fri, Feb 19, 2010 at 6:53 PM, drewB <dbats... at gmail.com> wrote:
> > I am using autotest with RSpec (autospec) and for some reason it
> > doesn''t monitor files under the integration folder. ?Does
anyone know
> > how to config autotest to monitor additional paths? ?I tried playing
> > with add_mapping in my .autotest but was not able to get it to work.
>
> Take a look
athttp://blog.davidchelimsky.net/2008/01/15/rspec-1-1-2-and-zentest-3-8-0/
> and see if that helps.
>
>
>
> > Thanks!
>
> > P.S. I know that using cucumber for integration testing is the best
> > practice for RSpec. ?Just know that I have a good reason for not using
> > it right now.
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at
rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users