Skip to content

Commit

Permalink
add module specs to autotest list
Browse files Browse the repository at this point in the history
  • Loading branch information
leword committed Dec 16, 2009
1 parent 44328a3 commit 06ee572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .autotest
Expand Up @@ -12,7 +12,7 @@ Autotest.add_hook(:initialize) {|at|
at.add_mapping(%r%^(test|spec)/fixtures/(.*).yml$%) { |_, m|
["spec/models/#{m[2].singularize}_spec.rb"] + at.files_matching(%r%^spec\/views\/#{m[2]}/.*_spec\.rb$%)
}
at.add_mapping(%r%^spec/(models|controllers|routing|views|helpers|lib)/.*rb$%) { |filename, _|
at.add_mapping(%r%^spec/(models|controllers|routing|views|helpers|lib|modules)/.*rb$%) { |filename, _|
filename
}
at.add_mapping(%r%^app/models/(.*)\.rb$%) { |_, m|
Expand Down

0 comments on commit 06ee572

Please sign in to comment.