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