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
This commit is contained in:
parent
b4aedc95d9
commit
a080b09a41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue