##// END OF EJS Templates
Rails3: scm: git: fix error of test_annotate_at_given_revision at functional test...
Toshi MARUYAMA -
r7022:117ebf2d65d1
parent child
Show More
@@ -336,8 +336,10 class RepositoriesGitControllerTest < ActionController::TestCase
336 end
336 end
337
337
338 def test_annotate_at_given_revision
338 def test_annotate_at_given_revision
339 assert_equal 0, @repository.changesets.count
339 @repository.fetch_changesets
340 @repository.fetch_changesets
340 @repository.reload
341 @project.reload
342 assert_equal NUM_REV, @repository.changesets.count
341 get :annotate, :id => PRJ_ID, :rev => 'deff7',
343 get :annotate, :id => PRJ_ID, :rev => 'deff7',
342 :path => ['sources', 'watchers_controller.rb']
344 :path => ['sources', 'watchers_controller.rb']
343 assert_response :success
345 assert_response :success
General Comments 0
You need to be logged in to leave comments. Login now