@@ -126,8 +126,10 class RepositoriesCvsControllerTest < ActionController::TestCase | |||||
126 | end |
|
126 | end | |
127 |
|
127 | |||
128 | def test_entry_not_found |
|
128 | def test_entry_not_found | |
|
129 | assert_equal 0, @repository.changesets.count | |||
129 | @repository.fetch_changesets |
|
130 | @repository.fetch_changesets | |
130 |
@ |
|
131 | @project.reload | |
|
132 | assert_equal NUM_REV, @repository.changesets.count | |||
131 | get :entry, :id => PRJ_ID, :path => ['sources', 'zzz.c'] |
|
133 | get :entry, :id => PRJ_ID, :path => ['sources', 'zzz.c'] | |
132 | assert_tag :tag => 'p', |
|
134 | assert_tag :tag => 'p', | |
133 | :attributes => { :id => /errorExplanation/ }, |
|
135 | :attributes => { :id => /errorExplanation/ }, |
General Comments 0
You need to be logged in to leave comments.
Login now