@@ -65,8 +65,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
65 | def test_fake; assert true end |
|
65 | def test_fake; assert true end | |
66 | elsif File.directory?(REPOSITORY_PATH) |
|
66 | elsif File.directory?(REPOSITORY_PATH) | |
67 | def test_show_root |
|
67 | def test_show_root | |
|
68 | assert_equal 0, @repository.changesets.count | |||
68 | @repository.fetch_changesets |
|
69 | @repository.fetch_changesets | |
69 |
@ |
|
70 | @project.reload | |
|
71 | assert_equal NUM_REV, @repository.changesets.count | |||
70 | get :show, :id => PRJ_ID |
|
72 | get :show, :id => PRJ_ID | |
71 | assert_response :success |
|
73 | assert_response :success | |
72 | assert_template 'show' |
|
74 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now