diff options
author | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-08 17:25:41 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-08 17:25:41 -0800 |
commit | 10045d082117d4ef35da31e1c5a825507b02dd97 (patch) | |
tree | b418c5d28334e8514a075effc20c1ebdcbf34a25 /tests/units/test_log.rb | |
parent | 1f63953f05a4afe74f881d54f69f77da513939d5 (diff) | |
download | third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.tar.gz third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.tar.xz third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.zip |
got all the unit tests to run from either place, fixed some old functionality
Diffstat (limited to 'tests/units/test_log.rb')
-rw-r--r-- | tests/units/test_log.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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) |