From 72ae34cf263c00376d6c13f932a5fb1cf59dbef2 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sat, 17 Nov 2007 08:42:58 -0800 Subject: made it not change working directories when running git commands unless it needs to --- tests/units/test_log.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/units/test_log.rb b/tests/units/test_log.rb index 5b41f39..11dcb27 100644 --- a/tests/units/test_log.rb +++ b/tests/units/test_log.rb @@ -31,8 +31,8 @@ class TestLog < Test::Unit::TestCase assert_equal(30, l.size) end - def test_get_log_since_file - l = @git.log.path('example.txt') + def test_get_log_since_file + l = @git.log.object('example.txt') assert_equal(30, l.size) l = @git.log.between('v2.5', 'test').path('example.txt') -- cgit