From 0e32fcf93e13fab882010d436144bb34ca9466ab Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 8 Mar 2011 06:10:30 +0000 Subject: [PATCH] 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 --- test/unit/lib/redmine/scm/adapters/git_adapter_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index c22fa936d..fd8d1c224 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -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 -- 2.39.5