mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
b5251e9f2b
git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@287 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
13 lines
335 B
Text
13 lines
335 B
Text
Autotest.add_hook :initialize do |at|
|
|
at.add_mapping(%r{^lib/\w.*\.rb}) do
|
|
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
|
end
|
|
|
|
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$})
|
|
at.add_exception(%r{^.autotest$})
|
|
end
|