@@ -178,8 +178,10 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
178 | end |
|
178 | end | |
179 |
|
179 | |||
180 | def test_entry_not_found |
|
180 | def test_entry_not_found | |
|
181 | assert_equal 0, @repository.changesets.count | |||
181 | @repository.fetch_changesets |
|
182 | @repository.fetch_changesets | |
182 |
@ |
|
183 | @project.reload | |
|
184 | assert_equal NUM_REV, @repository.changesets.count | |||
183 | get :entry, :id => PRJ_ID, :path => ['subversion_test', 'zzz.c'] |
|
185 | get :entry, :id => PRJ_ID, :path => ['subversion_test', 'zzz.c'] | |
184 | assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ }, |
|
186 | assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ }, | |
185 | :content => /The entry or revision was not found in the repository/ |
|
187 | :content => /The entry or revision was not found in the repository/ |
General Comments 0
You need to be logged in to leave comments.
Login now