summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-26 07:12:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-26 07:12:07 +0000
commit1587be2915e77c7606077a807c7f6e30e5f54ebf (patch)
tree85eeec169fb6cc5ba35ef4f9b8cf1114c6f1e52d /test
parent4825bbd93bd52488b06196d747c0e54c13c62074 (diff)
downloadredmine-1587be2915e77c7606077a807c7f6e30e5f54ebf.tar.gz
redmine-1587be2915e77c7606077a807c7f6e30e5f54ebf.zip
scm: bazaar: add unit adapter test of entries invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb4
1 files changed, 4 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 d515e3ab1..495fce20a 100644
--- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
+++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
@@ -97,6 +97,10 @@ begin
assert_equal 4, info.lastrev.identifier.to_i
end
+ def test_entries_path_invalid
+ assert_equal [], @adapter.entries('invalid')
+ end
+
private
def test_scm_version_for(scm_command_version, version)