##// END OF EJS Templates
Rails3: scm: cvs: fix error of test_cat at unit model test...
Toshi MARUYAMA -
r7016:46bfaeb488df
parent child
Show More
@@ -122,8 +122,10 class RepositoryCvsTest < ActiveSupport::TestCase
122 end
122 end
123
123
124 def test_cat
124 def test_cat
125 assert_equal 0, @repository.changesets.count
125 @repository.fetch_changesets
126 @repository.fetch_changesets
126 @repository.reload
127 @project.reload
128 assert_equal CHANGESETS_NUM, @repository.changesets.count
127 buf = @repository.cat('README')
129 buf = @repository.cat('README')
128 assert buf
130 assert buf
129 lines = buf.split("\n")
131 lines = buf.split("\n")
General Comments 0
You need to be logged in to leave comments. Login now