@@ -64,8 +64,11 class RepositoriesGitControllerTest < ActionController::TestCase | |||||
64 |
|
64 | |||
65 | if File.directory?(REPOSITORY_PATH) |
|
65 | if File.directory?(REPOSITORY_PATH) | |
66 | def test_browse_root |
|
66 | def test_browse_root | |
|
67 | assert_equal 0, @repository.changesets.count | |||
67 | @repository.fetch_changesets |
|
68 | @repository.fetch_changesets | |
68 |
@ |
|
69 | @project.reload | |
|
70 | assert_equal NUM_REV, @repository.changesets.count | |||
|
71 | ||||
69 | get :show, :id => PRJ_ID |
|
72 | get :show, :id => PRJ_ID | |
70 | assert_response :success |
|
73 | assert_response :success | |
71 | assert_template 'show' |
|
74 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now