10 lines
213 B
Ruby
10 lines
213 B
Ruby
require 'test_helper'
|
|
require 'find'
|
|
|
|
test_root = File.dirname(__FILE__)
|
|
Find.find(test_root) { |path|
|
|
if File.file?(path) and path =~ /.*_test\.rb$/
|
|
require path[(test_root.size + 1)..-4]
|
|
end
|
|
}
|