@@ -49,8 +49,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
49 |
|
49 | |||
50 | if File.directory?(REPOSITORY_PATH) |
|
50 | if File.directory?(REPOSITORY_PATH) | |
51 | def test_browse_root |
|
51 | def test_browse_root | |
|
52 | assert_equal 0, @repository.changesets.count | |||
52 | @repository.fetch_changesets |
|
53 | @repository.fetch_changesets | |
53 |
@ |
|
54 | @project.reload | |
|
55 | assert_equal NUM_REV, @repository.changesets.count | |||
54 | get :show, :id => PRJ_ID |
|
56 | get :show, :id => PRJ_ID | |
55 | assert_response :success |
|
57 | assert_response :success | |
56 | assert_template 'show' |
|
58 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now