Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1f46a76354
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.285 kb
Autotest.add_hook :initialize do |at|
at.clear_mappings
at.add_mapping %r%/^lib/(.*)\.rb$% do |_, m|
possible = File.basename(m[1])
files_matching %r%^test/.*(#{possible}_test|test_#{possible})\.rb$%
end
at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
end
Jump to Line
Something went wrong with that request. Please try again.