Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (7 sloc) 324 Bytes
Autotest.add_hook :initialize do |at|
at.clear_mappings
at.add_exception(/\.git/)
at.add_mapping(%r{^spec/.*_spec}) {|filename,_| at.files_matching %r{#{filename}}}
at.add_mapping(%r{^bin/thor}) {|_,_| at.files_matching %r{spec/thor_runner_spec}}
at.add_mapping(%r{}) {|_,_| at.files_matching %r{spec/.*_spec}}
end