Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ceb90ad7c9
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.273 kb
require 'autotest/menu'
Autotest.add_hook :initialize do |at|
at.clear_mappings
at.add_mapping(%r%lib/(.*)\.rb$%) { |filename, match|
at.files_matching %r%^spec/#{match[1]}.*\.rb$%
}
at.add_mapping(%r%^spec/.*\.rb$%) { |filename, match|
filename
}
end
Jump to Line
Something went wrong with that request. Please try again.