scm: add filesystem available test at unit repository test (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5364 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b30ece064b
commit
3bc9972d5e
|
@ -183,4 +183,10 @@ class RepositoryTest < ActiveSupport::TestCase
|
|||
)
|
||||
assert_equal User.find(2), c.user
|
||||
end
|
||||
|
||||
def test_filesystem_avaialbe
|
||||
klass = Repository::Filesystem
|
||||
assert klass.scm_adapter_class
|
||||
assert_equal true, klass.scm_available
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue