all.rb 171 B

12345678
  1. # encoding: utf-8
  2. dir = File.dirname(__FILE__)
  3. $LOAD_PATH.unshift(dir)
  4. Dir["#{dir}/**/*_test.rb"].sort.each do |file|
  5. require file.sub(/^#{dir}\/(.*)\.rb$/, '\1')
  6. end