@@ -140,8 +140,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
140 | end |
|
140 | end | |
141 |
|
141 | |||
142 | def test_entry |
|
142 | def test_entry | |
|
143 | assert_equal 0, @repository.changesets.count | |||
143 | @repository.fetch_changesets |
|
144 | @repository.fetch_changesets | |
144 |
@ |
|
145 | @project.reload | |
|
146 | assert_equal NUM_REV, @repository.changesets.count | |||
145 | get :entry, :id => PRJ_ID, :path => ['subversion_test', 'helloworld.c'] |
|
147 | get :entry, :id => PRJ_ID, :path => ['subversion_test', 'helloworld.c'] | |
146 | assert_response :success |
|
148 | assert_response :success | |
147 | assert_template 'entry' |
|
149 | assert_template 'entry' |
General Comments 0
You need to be logged in to leave comments.
Login now