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