]> source.dussan.org Git - redmine.git/commitdiff
scm: cvs: use model instead of adapter in unit model cat test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 11 Apr 2011 12:04:58 +0000 (12:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 11 Apr 2011 12:04:58 +0000 (12:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5405 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_cvs_test.rb

index 9419bbae81022ad831f3e89dbc9ee2f131afa49c..7e4bfd2e28e422b1417cfc6991b9798fbc39fbcd 100644 (file)
@@ -122,7 +122,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
       lines = buf.split("\n")
       assert_equal 1, lines.length
       assert_equal 'CVS test repository', lines[0]
-      assert_nil @repository.scm.cat('missing.rb')
+      assert_nil @repository.cat('missing.rb')
     end
   else
     puts "CVS test repository NOT FOUND. Skipping unit tests !!!"