From: Toshi MARUYAMA Date: Fri, 27 May 2011 02:52:51 +0000 (+0000) Subject: scm: bazaar: add unit adapter test that append_revisions_only is false in test shared... X-Git-Tag: 1.3.0~1912 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=959aa0b74e216143cb0936692a1e999ac038f35e;p=redmine.git scm: bazaar: add unit adapter test that append_revisions_only is false in test shared repository branch (#2799, #4741, #8030). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5937 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb index 9b29cf50b..41901375d 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -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