##// END OF EJS Templates
scm: bazaar: add unit adapter test that append_revisions_only is false in test shared repository branch (#2799, #4741, #8030)....
Toshi MARUYAMA -
r5817:959aa0b74e21
parent child
Show More
@@ -84,6 +84,13 begin
84 assert_equal true, @adapter.append_revisions_only
84 assert_equal true, @adapter.append_revisions_only
85 end
85 end
86
86
87 def test_append_revisions_only_false
88 adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
89 File.join(REPOSITORY_PATH, "empty-branch")
90 )
91 assert_equal false, adpt.append_revisions_only
92 end
93
87 def test_append_revisions_only_shared_repo
94 def test_append_revisions_only_shared_repo
88 adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
95 adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
89 REPOSITORY_PATH
96 REPOSITORY_PATH
General Comments 0
You need to be logged in to leave comments. Login now