From: Toshi MARUYAMA Date: Wed, 25 May 2011 23:14:02 +0000 (+0000) Subject: scm: bazaar: add unit adapter info test. X-Git-Tag: 1.3.0~1945 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cadaa018b661f0da70817b62c6eadf4f582d2f07;p=redmine.git scm: bazaar: add unit adapter info test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5904 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 f905076f4..634ad1943 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -67,6 +67,11 @@ begin assert_nil adpt.info end + def test_info + info = @adapter.info + assert_equal 4, info.lastrev.identifier.to_i + end + private def test_scm_version_for(scm_command_version, version)