Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 13 lines (10 sloc) 0.329 kB
3c1f4c5 @bkeepers Make tests mirror lib directory and add .autotest file
bkeepers authored
1 Autotest.add_hook :initialize do |at|
2 at.clear_mappings
3
4 at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
5 at.files_matching %r%^test/#{m[1]}_test.rb$%
6 end
7
8 at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
9
10 at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
11 at.files_matching %r%^test/.*\.rb$%
12 end
13 end
Something went wrong with that request. Please try again.