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:
Toshi MARUYAMA 2011-04-08 05:44:06 +00:00
parent b30ece064b
commit 3bc9972d5e
1 changed files with 6 additions and 0 deletions

View File

@ -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