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
This commit is contained in:
parent
de7f42d257
commit
959aa0b74e
|
@ -84,6 +84,13 @@ begin
|
||||||
assert_equal true, @adapter.append_revisions_only
|
assert_equal true, @adapter.append_revisions_only
|
||||||
end
|
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
|
def test_append_revisions_only_shared_repo
|
||||||
adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
|
adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
|
||||||
REPOSITORY_PATH
|
REPOSITORY_PATH
|
||||||
|
|
Loading…
Reference in New Issue