From e054202c2b0acbd2bf83d85bf473b3a9568985ef Mon Sep 17 00:00:00 2001 From: Jason Watson Date: Mon, 30 Aug 2010 22:35:15 +0100 Subject: [PATCH] fix load errors in ruby 1.9.2. --- test/suite.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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