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