@@ -60,8 +60,10 class RepositoriesDarcsControllerTest < ActionController::TestCase | |||||
60 | end |
|
60 | end | |
61 |
|
61 | |||
62 | def test_browse_directory |
|
62 | def test_browse_directory | |
|
63 | assert_equal 0, @repository.changesets.count | |||
63 | @repository.fetch_changesets |
|
64 | @repository.fetch_changesets | |
64 |
@ |
|
65 | @project.reload | |
|
66 | assert_equal NUM_REV, @repository.changesets.count | |||
65 | get :show, :id => PRJ_ID, :path => ['images'] |
|
67 | get :show, :id => PRJ_ID, :path => ['images'] | |
66 | assert_response :success |
|
68 | assert_response :success | |
67 | assert_template 'show' |
|
69 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now