From: Jean-Philippe Lang Date: Mon, 11 Apr 2011 16:54:35 +0000 (+0000) Subject: Fixes an error raised by cvs test with Postgresql (revision is varchar). X-Git-Tag: 1.2.0~437 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5fd891aa72243e7fff19a05d080c921ae420eeeb;p=redmine.git 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 --- diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index 393945ace..c7041bede 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -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