]> source.dussan.org Git - redmine.git/commitdiff
scm: git: add tags test in unit adapter test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Mar 2011 06:10:30 +0000 (06:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Mar 2011 06:10:30 +0000 (06:10 +0000)
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

index c22fa936d40b1bcd063037e200a4007b3998f90a..fd8d1c22415b6deb15aad05fc829a539df96832d 100644 (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