##// END OF EJS Templates
Rails3: scm: git: fix error of test_browse_branch at functional test...
Toshi MARUYAMA -
r7004:e6e8cd86503f
parent child
Show More
@@ -88,8 +88,10 class RepositoriesGitControllerTest < ActionController::TestCase
88 end
88 end
89
89
90 def test_browse_branch
90 def test_browse_branch
91 assert_equal 0, @repository.changesets.count
91 @repository.fetch_changesets
92 @repository.fetch_changesets
92 @repository.reload
93 @project.reload
94 assert_equal NUM_REV, @repository.changesets.count
93 get :show, :id => PRJ_ID, :rev => 'test_branch'
95 get :show, :id => PRJ_ID, :rev => 'test_branch'
94 assert_response :success
96 assert_response :success
95 assert_template 'show'
97 assert_template 'show'
General Comments 0
You need to be logged in to leave comments. Login now