svn propset svn:eol-style LF lib/plugins/awesome_nested_set/.autotest
git-svn-id: http://svn.redmine.org/redmine/trunk@12674 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a525bc8e98
commit
4d95f815d2
|
@ -1,13 +1,13 @@
|
||||||
Autotest.add_hook :initialize do |at|
|
Autotest.add_hook :initialize do |at|
|
||||||
at.clear_mappings
|
at.clear_mappings
|
||||||
|
|
||||||
at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
|
at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
|
||||||
at.files_matching %r%^test/#{m[1]}_test.rb$%
|
at.files_matching %r%^test/#{m[1]}_test.rb$%
|
||||||
end
|
end
|
||||||
|
|
||||||
at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
|
at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
|
||||||
|
|
||||||
at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
|
at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
|
||||||
at.files_matching %r%^test/.*\.rb$%
|
at.files_matching %r%^test/.*\.rb$%
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue