Adding files for autotest to monitor

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.


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.

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, _|