Expand tmp file path so it does not float around

This commit is contained in:
Xavier Shay 2011-04-08 08:21:00 +10:00 committed by Ryan Bigg
parent 5223f9699c
commit e058beb488
1 changed files with 1 additions and 1 deletions

View File

@ -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