fix load errors in ruby 1.9.2.

This commit is contained in:
Jason Watson 2010-08-30 22:35:15 +01:00
parent 3fa9af17fa
commit e054202c2b
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ require 'test/unit'
# for some reason these tests fail when run via TextMate
# but succeed when run on the command line.
tests = Dir["#{File.dirname(__FILE__)}/test_*.rb"]
tests = Dir[File.expand_path("#{File.dirname(__FILE__)}/test_*.rb")]
tests.each do |file|
require file
end