Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.359 kB
Autotest.add_hook(:initialize) do |at|
at.clear_mappings
at.find_directories = %w(lib test)
at.add_exception("test/test_helper.rb")
at.add_exception("test/rails_test_helper.rb")
at.add_mapping(/^lib\/.*\.rb$/) do |file, _|
at.files_matching(/^test\/.*_test\.rb$/)
end
at.add_mapping(/^test\/.*_test\.rb$/) do |file, _|
file
end
end
Jump to Line
Something went wrong with that request. Please try again.