Commit 1bb36463 authored by tmaruyama's avatar tmaruyama

scm: bazaar: add unit adapter test that shared repository...

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: https://svn.redmine.org/redmine/trunk@5935 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2bcd1d57
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment