Skip to content

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

16 lines (12 sloc) 0.339 kb
Autotest.add_hook :initialize do |at|
at.clear_mappings
at.add_mapping(%r{^spec/.+_spec\.rb$}) do |filename,_|
filename
end
at.add_mapping(%r{^lib/patron/(.+)\.rb$}) do |_,match|
[ "spec/#{match[1]}_spec.rb" ]
end
at.add_mapping(%r{^spec/spec_helper\.rb$}) do
at.files_matching(%r{^spec/.+_spec\.rb$})
end
end
Jump to Line
Something went wrong with that request. Please try again.