mirror of
https://github.com/redmine/redmine.git
synced 2024-09-03 17:55:59 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9533 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
341 B
Plaintext
13 lines
341 B
Plaintext
Autotest.add_hook :initialize do |at|
|
|
at.clear_mappings
|
|
|
|
at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
|
|
at.files_matching %r%^test/#{m[1]}_test.rb$%
|
|
end
|
|
|
|
at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
|
|
|
|
at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
|
|
at.files_matching %r%^test/.*\.rb$%
|
|
end
|
|
end |