Skip to content
This repository was archived by the owner on Apr 19, 2018. It is now read-only.

Commit d37c628

Browse files
committed
Use absolute path in tests
1 parent a7cd2c6 commit d37c628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_git.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class TestGit < Test::Unit::TestCase
44
def setup
5-
@git = Git.new(File.join(File.dirname(__FILE__), *%w[..]))
5+
@git = Git.new(File.absolute_path(File.join(File.dirname(__FILE__), *%w[..])))
66
end
77

88
def teardown

0 commit comments

Comments
 (0)