From a080b09a41ec7e1bbb599ce26299156860e5c164 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 27 May 2011 02:51:44 +0000 Subject: [PATCH] scm: bazaar: add unit adapter test that shared repository "append_revisions_only" is false (#2799, #4741, #8030). adapter append_revisions_only() checks whether .bzr/branch/branch.conf exists. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5935 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) 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 2074aa8b0..f83e13f92 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_shared_repo + adpt = Redmine::Scm::Adapters::BazaarAdapter.new( + REPOSITORY_PATH + ) + assert_equal false, adpt.append_revisions_only + end + def test_info_not_nil assert_not_nil @adapter.info end -- 2.39.5