]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: add unit adapter test that append_revisions_only is false in test shared...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 27 May 2011 02:52:51 +0000 (02:52 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 27 May 2011 02:52:51 +0000 (02:52 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5937 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb

index 9b29cf50b24f7e2cbe3a7030e410e23daf8e9e95..41901375dc39a91cccdab107869b50f71b314221 100644 (file)
@@ -84,6 +84,13 @@ begin
         assert_equal true, @adapter.append_revisions_only
       end
 
+      def test_append_revisions_only_false
+        adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
+                                File.join(REPOSITORY_PATH, "empty-branch")
+                                )
+        assert_equal false, adpt.append_revisions_only
+      end
+
       def test_append_revisions_only_shared_repo
         adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
                                 REPOSITORY_PATH