Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 11 lines (11 sloc) 0.27 kb
1 2 3 4 5 6 7 8 9 10 11
Autotest.add_hook :initialize do |at|
  at.clear_mappings
  # watch out: Ruby bug (1.8.6):
  # %r(/) != /\//
  at.add_mapping(%r%^spec/.*\.rb$%) { |filename, _|
    filename
  }
  at.add_mapping(%r%^lib/hpreserve/(.*)\.rb$%) { |_, m|
    ["spec/#{m[1]}_spec.rb"]
  }
end
Something went wrong with that request. Please try again.