test/test_commit.rb in mojombo-grit-0.9.3 vs test/test_commit.rb in mojombo-grit-0.9.4

- old
+ new

@@ -20,9 +20,15 @@ def test_id_abbrev assert_equal '80f136f', @r.commit('80f136f500dfdb8c3e8abf4ae716f875f0a1b57f').id_abbrev end + # count + + def test_count + assert_equal 107, Commit.count(@r, 'master') + end + # diff def test_diff # git diff --full-index 91169e1f5fa4de2eaea3f176461f5dc784796769 > test/fixtures/diff_p