diff --git a/test/suite.rb b/test/suite.rb index 17a707b6..64591518 100644 --- a/test/suite.rb +++ b/test/suite.rb @@ -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 \ No newline at end of file