From 10045d082117d4ef35da31e1c5a825507b02dd97 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Thu, 8 Nov 2007 17:25:41 -0800 Subject: got all the unit tests to run from either place, fixed some old functionality --- tests/units/test_log.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/units/test_log.rb') diff --git a/tests/units/test_log.rb b/tests/units/test_log.rb index ddd4988..770c245 100644 --- a/tests/units/test_log.rb +++ b/tests/units/test_log.rb @@ -2,7 +2,7 @@ require File.dirname(__FILE__) + '/../test_helper' -class TestInit < Test::Unit::TestCase +class TestLog < Test::Unit::TestCase def setup set_file_paths @git = Git.open(@wdir) @@ -10,7 +10,7 @@ class TestInit < Test::Unit::TestCase def test_get_log_entries log = @git.log - assert(log.first.is_a?(Git::Commit)) + assert(log.first.is_a?(Git::Object::Commit)) end def test_get_log_entries @@ -36,7 +36,7 @@ class TestInit < Test::Unit::TestCase assert_equal(30, l.size) l = @git.log.between('v2.5').file('example.txt') - assert_equal(1, l.size) + assert_equal(2, l.size) l = @git.log.between('v2.5', 'test').file('example.txt') assert_equal(1, l.size) -- cgit