summaryrefslogtreecommitdiffstats
path: root/tests/test_helper.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-10 15:34:12 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-10 15:34:12 -0800
commitefcce7fc123b9e64fb9d93224e4e78d09144af3d (patch)
tree5c9966a11b18218d6e2f655e7f34a7604530b2a1 /tests/test_helper.rb
parentfde3263abc5c7866aa7dce7aef28eacaa33d7664 (diff)
downloadthird_party-ruby-git-efcce7fc123b9e64fb9d93224e4e78d09144af3d.tar.gz
third_party-ruby-git-efcce7fc123b9e64fb9d93224e4e78d09144af3d.tar.xz
third_party-ruby-git-efcce7fc123b9e64fb9d93224e4e78d09144af3d.zip
got clone and init to work - my first writing functions
Diffstat (limited to 'tests/test_helper.rb')
-rw-r--r--tests/test_helper.rb6
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)