Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 14 lines (11 sloc) 0.357 kB
5337788 @jnunemaker Friends and user timeline now work.
jnunemaker authored
1 Autotest.add_hook(:initialize) do |at|
2 at.add_exception(".git")
3 end
4
5 Autotest.add_hook(:initialize) do |at|
6 at.clear_mappings
7
8 at.add_mapping %r%/^lib/(.*)\.rb$% do |_, m|
9 possible = File.basename(m[1])
10 files_matching %r%^test/.*(#{possible}_test|test_#{possible})\.rb$%
11 end
12
13 at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
14 end
Something went wrong with that request. Please try again.