]> source.dussan.org Git - redmine.git/commitdiff
Fixes an error raised by cvs test with Postgresql (revision is varchar).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 11 Apr 2011 16:54:35 +0000 (16:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 11 Apr 2011 16:54:35 +0000 (16:54 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5415 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_cvs_test.rb

index 393945acead07d18e78d7e1560251b89c4cbbb1a..c7041bede5a45d0c08f226009b5492e70184997e 100644 (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