Mercurial > hg > soundsoftware-site
diff .svn/pristine/bd/bd644e6d1539b3037b05096fa2a2105f3d200ef8.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/bd/bd644e6d1539b3037b05096fa2a2105f3d200ef8.svn-base Fri Jun 14 09:02:21 2013 +0100 @@ -0,0 +1,13 @@ +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 \ No newline at end of file