Fixes an error raised by cvs test with Postgresql (revision is varchar).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5415 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-04-11 16:54:35 +00:00
parent 5b9655ab8e
commit 5fd891aa72
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
lines = buf.split("\n")
assert_equal 2, lines.length
assert_equal 'with one change', lines[1]
buf = @repository.cat('README', 1)
buf = @repository.cat('README', '1')
assert buf
lines = buf.split("\n")
assert_equal 1, lines.length