scm: cvs: use model instead of adapter in unit model cat test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5405 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-04-11 12:04:58 +00:00
parent 32a9937d4e
commit 7b72dc874d
1 changed files with 1 additions and 1 deletions

View 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 !!!"