fix load errors in ruby 1.9.2.
This commit is contained in:
parent
3fa9af17fa
commit
e054202c2b
|
@ -3,7 +3,7 @@ require 'test/unit'
|
||||||
# for some reason these tests fail when run via TextMate
|
# for some reason these tests fail when run via TextMate
|
||||||
# but succeed when run on the command line.
|
# 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|
|
tests.each do |file|
|
||||||
require file
|
require file
|
||||||
end
|
end
|
Loading…
Reference in New Issue