@@ -252,11 +252,13 class RepositoriesSubversionControllerTest < ActionController::TestCase | |||||
252 | def test_revision_diff |
|
252 | def test_revision_diff | |
253 | @repository.fetch_changesets |
|
253 | @repository.fetch_changesets | |
254 | @repository.reload |
|
254 | @repository.reload | |
255 | get :diff, :id => PRJ_ID, :rev => 3 |
|
255 | ['inline', 'sbs'].each do |dt| | |
256 | assert_response :success |
|
256 | get :diff, :id => PRJ_ID, :rev => 3, :type => dt | |
257 | assert_template 'diff' |
|
257 | assert_response :success | |
258 |
|
258 | assert_template 'diff' | ||
259 |
assert_tag :tag => 'h2', |
|
259 | assert_tag :tag => 'h2', | |
|
260 | :content => / 3/ | |||
|
261 | end | |||
260 | end |
|
262 | end | |
261 |
|
263 | |||
262 | def test_directory_diff |
|
264 | def test_directory_diff |
General Comments 0
You need to be logged in to leave comments.
Login now