diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-27 02:52:51 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-27 02:52:51 +0000 |
commit | 959aa0b74e216143cb0936692a1e999ac038f35e (patch) | |
tree | 4a8b23c0d82cfa4177d97dd4d951d976f1f1a5d5 | |
parent | de7f42d257ba1f3bac55d80be0b7d8db92cae973 (diff) | |
download | redmine-959aa0b74e216143cb0936692a1e999ac038f35e.tar.gz redmine-959aa0b74e216143cb0936692a1e999ac038f35e.zip |
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
-rw-r--r-- | test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |