After a lot of hunting I figure it out. I added the following to
my .autotest:
Autotest.add_hook :initialize do |at|
at.add_mapping(%r%^spec/(integration)/.*rb$%) { |filename, _|
filename
}
end
On Feb 19, 1:24 pm, drewB <[email protected]> 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.
>
> 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.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.