diff options
Diffstat (limited to 'tests/test_helper.rb')
-rw-r--r-- | tests/test_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_helper.rb b/tests/test_helper.rb index 03b5f8a..cf67576 100644 --- a/tests/test_helper.rb +++ b/tests/test_helper.rb @@ -14,9 +14,9 @@ class Test::Unit::TestCase @test_dir = File.join(cwd, 'tests', 'files') end - @wdir = File.join(@test_dir, 'working') - @wbare = File.join(@test_dir, 'working.git') - @index = File.join(@test_dir, 'index') + @wdir = File.expand_path(File.join(@test_dir, 'working')) + @wbare = File.expand_path(File.join(@test_dir, 'working.git')) + @index = File.expand_path(File.join(@test_dir, 'index')) end def in_temp_dir(remove_after = true) |