@@ -69,8 +69,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
69 | end |
|
69 | end | |
70 |
|
70 | |||
71 | def test_browse_directory |
|
71 | def test_browse_directory | |
|
72 | assert_equal 0, @repository.changesets.count | |||
72 | @repository.fetch_changesets |
|
73 | @repository.fetch_changesets | |
73 |
@ |
|
74 | @project.reload | |
|
75 | assert_equal NUM_REV, @repository.changesets.count | |||
74 | get :show, :id => PRJ_ID, :path => ['subversion_test'] |
|
76 | get :show, :id => PRJ_ID, :path => ['subversion_test'] | |
75 | assert_response :success |
|
77 | assert_response :success | |
76 | assert_template 'show' |
|
78 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now