@@ -147,8 +147,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
147 | end |
|
147 | end | |
148 |
|
148 | |||
149 | def test_directory_entry |
|
149 | def test_directory_entry | |
|
150 | assert_equal 0, @repository.changesets.count | |||
150 | @repository.fetch_changesets |
|
151 | @repository.fetch_changesets | |
151 |
@ |
|
152 | @project.reload | |
|
153 | assert_equal NUM_REV, @repository.changesets.count | |||
152 | get :entry, :id => PRJ_ID, :path => ['sources'] |
|
154 | get :entry, :id => PRJ_ID, :path => ['sources'] | |
153 | assert_response :success |
|
155 | assert_response :success | |
154 | assert_template 'show' |
|
156 | assert_template 'show' |
General Comments 0
You need to be logged in to leave comments.
Login now