From e058beb4885233d9a55d617e52719ccc236881c4 Mon Sep 17 00:00:00 2001 From: Xavier Shay Date: Fri, 8 Apr 2011 08:21:00 +1000 Subject: [PATCH] Expand tmp file path so it does not float around --- test/application_checker_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/application_checker_test.rb b/test/application_checker_test.rb index a5edd4d..0df70e4 100644 --- a/test/application_checker_test.rb +++ b/test/application_checker_test.rb @@ -2,7 +2,7 @@ require 'test_helper' require 'application_checker' require 'fileutils' -tmp_dir = "#{File.dirname(__FILE__)}/fixtures/tmp" +tmp_dir = File.expand_path("#{File.dirname(__FILE__)}/fixtures/tmp") if defined? BASE_ROOT BASE_ROOT.replace tmp_dir