summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-17 08:42:58 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-17 08:42:58 -0800
commit72ae34cf263c00376d6c13f932a5fb1cf59dbef2 (patch)
tree907779b408ed427709aa33b9dfcfd109c20ce0dc /tests
parentb0d47b3112b00cb6c1ae72d6d8a43e583af117ea (diff)
downloadthird_party-ruby-git-72ae34cf263c00376d6c13f932a5fb1cf59dbef2.zip
third_party-ruby-git-72ae34cf263c00376d6c13f932a5fb1cf59dbef2.tar.gz
third_party-ruby-git-72ae34cf263c00376d6c13f932a5fb1cf59dbef2.tar.xz
made it not change working directories when running git commands unless it needs to
Diffstat (limited to 'tests')
-rw-r--r--tests/units/test_log.rb4
1 files changed, 2 insertions, 2 deletions
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')