scm: subversion: add unit adapter test that info is nil if repository path is invalid.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5898 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e74f2f1202
commit
94bd3c526d
|
@ -46,6 +46,13 @@ begin
|
||||||
assert_not_nil @adapter.info
|
assert_not_nil @adapter.info
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_info_nil
|
||||||
|
adpt = Redmine::Scm::Adapters::SubversionAdapter.new(
|
||||||
|
"file:///invalid/invalid/"
|
||||||
|
)
|
||||||
|
assert_nil adpt.info
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def test_scm_version_for(scm_version, version)
|
def test_scm_version_for(scm_version, version)
|
||||||
|
|
Loading…
Reference in New Issue