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