3 require File.dirname(__FILE__) + '/../test_helper'
5 class TestInit < Test::Unit::TestCase
11 def test_get_log_entries
13 assert(log.first.is_a? Git::Commit)
16 def test_get_log_entries
17 assert_equal(30, @git.log.size)
18 assert_equal(50, @git.log(50).size)
19 assert_equal(10, @git.log(10).size)
23 assert_equal(@git.log.to_s.split("\n").first, @git.log.first.sha)