]> source.dussan.org Git - redmine.git/commitdiff
scm: add filesystem available test at unit repository test (#4273).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 8 Apr 2011 05:44:06 +0000 (05:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 8 Apr 2011 05:44:06 +0000 (05:44 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5364 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_test.rb

index cfc5cb0d83f5fc30d13e569a577f8eadd4ff0572..caf89b4841ed61103f94b1410ae22aa3e10b557d 100644 (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