@@ -88,8 +88,10 class RepositoriesGitControllerTest < ActionController::TestCase | |||
|
88 | 88 | end |
|
89 | 89 | |
|
90 | 90 | def test_browse_branch |
|
91 | assert_equal 0, @repository.changesets.count | |
|
91 | 92 | @repository.fetch_changesets |
|
92 |
@ |
|
|
93 | @project.reload | |
|
94 | assert_equal NUM_REV, @repository.changesets.count | |
|
93 | 95 | get :show, :id => PRJ_ID, :rev => 'test_branch' |
|
94 | 96 | assert_response :success |
|
95 | 97 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now