##// END OF EJS Templates
Rails3: scm: cvs: fix error of test_diff at functional test...
Toshi MARUYAMA -
r7063:8598f6a816c9
parent child
Show More
@@ -159,8 +159,10 class RepositoriesCvsControllerTest < ActionController::TestCase
159 end
159 end
160
160
161 def test_diff
161 def test_diff
162 assert_equal 0, @repository.changesets.count
162 @repository.fetch_changesets
163 @repository.fetch_changesets
163 @repository.reload
164 @project.reload
165 assert_equal NUM_REV, @repository.changesets.count
164 ['inline', 'sbs'].each do |dt|
166 ['inline', 'sbs'].each do |dt|
165 get :diff, :id => PRJ_ID, :rev => 3, :type => dt
167 get :diff, :id => PRJ_ID, :rev => 3, :type => dt
166 assert_response :success
168 assert_response :success
General Comments 0
You need to be logged in to leave comments. Login now