Expand tmp file path so it does not float around
This commit is contained in:
parent
5223f9699c
commit
e058beb488
|
@ -2,7 +2,7 @@ require 'test_helper'
|
||||||
require 'application_checker'
|
require 'application_checker'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
||||||
tmp_dir = "#{File.dirname(__FILE__)}/fixtures/tmp"
|
tmp_dir = File.expand_path("#{File.dirname(__FILE__)}/fixtures/tmp")
|
||||||
|
|
||||||
if defined? BASE_ROOT
|
if defined? BASE_ROOT
|
||||||
BASE_ROOT.replace tmp_dir
|
BASE_ROOT.replace tmp_dir
|
||||||
|
|
Loading…
Reference in New Issue