1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/.autotest
tsaleh 46f8ff2437 - fixed the rails root to rails 2.0.2
- updated the rails root to rails 2 standards
- added .autotest file to fix autotest
- fixed bug in determining the resource path



git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@286 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
2008-01-21 14:13:43 +00:00

8 lines
204 B
Text

Autotest.add_hook :initialize do |at|
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$})
end