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