2008-01-21 14:13:43 +00:00
|
|
|
Autotest.add_hook :initialize do |at|
|
2008-01-21 14:30:10 +00:00
|
|
|
at.add_mapping(%r{^lib/\w.*\.rb}) do
|
|
|
|
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
|
|
|
end
|
|
|
|
|
2008-01-21 14:13:43 +00:00
|
|
|
at.add_mapping(%r{^test/rails_root/\w.*}) do
|
|
|
|
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
|
|
|
end
|
|
|
|
|
|
|
|
at.add_exception(%r{.svn})
|
|
|
|
at.add_exception(%r{.log$})
|
2008-01-21 14:30:10 +00:00
|
|
|
at.add_exception(%r{^.autotest$})
|
2008-01-21 14:13:43 +00:00
|
|
|
end
|