Commit 240bb8cb authored by tmaruyama's avatar tmaruyama

scm: bazaar: add unit adapter test that info is nil if repository path is invalid.

git-svn-id: https://svn.redmine.org/redmine/trunk@5903 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9a5dce47
......@@ -60,6 +60,13 @@ begin
assert_not_nil @adapter.info
end
def test_info_nil
adpt = Redmine::Scm::Adapters::BazaarAdapter.new(
"/invalid/invalid/"
)
assert_nil adpt.info
end
private
def test_scm_version_for(scm_command_version, version)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment