scm: git: add tags test in unit adapter test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5045 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-08 06:10:30 +00:00
parent 04aca2fcb9
commit 0e32fcf93e
1 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,13 @@ begin
], @adapter.branches
end
def test_tags
assert_equal [
"tag00.lightweight",
"tag01.annotated",
], @adapter.tags
end
def test_getting_all_revisions
assert_equal 20, @adapter.revisions('',nil,nil,:all => true).length
end