Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 8 lines (7 sloc) 0.369 kb
1 2 3 4 5 6 7 8
Autotest.add_hook :initialize do |at|
  at.clear_mappings
 
  at.add_mapping(%r{^test/.*_test\.rb$}) {|f, _| [f] }
  at.add_mapping(%r{^lib/amazon/(.*)\.rb$}) {|_, m| ["test/#{m[1]}_test.rb"] }
  at.add_mapping(%r{^test/(test_helper)\.rb$}) { at.files_matching %r{^test/.*_test\.rb$} }
  at.add_mapping(%r{^lib/.*\.rb$}) { at.files_matching %r{^test/.*_test\.rb$} }
end
Something went wrong with that request. Please try again.