@@ -56,8 +56,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
56 | end |
|
56 | end | |
57 |
|
57 | |||
58 | def test_browse_root |
|
58 | def test_browse_root | |
|
59 | assert_equal 0, @repository.changesets.count | |||
59 | @repository.fetch_changesets |
|
60 | @repository.fetch_changesets | |
60 |
@ |
|
61 | @project.reload | |
|
62 | assert_equal NUM_REV, @repository.changesets.count | |||
61 | get :show, :id => PRJ_ID |
|
63 | get :show, :id => PRJ_ID | |
62 | assert_response :success |
|
64 | assert_response :success | |
63 | assert_template 'show' |
|
65 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now