@@ -123,7 +123,7 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
123 | 123 | end |
|
124 | 124 | end |
|
125 | 125 | |
|
126 | def test_show_directory_latin_1 | |
|
126 | def test_show_directory_latin_1_path | |
|
127 | 127 | @repository.fetch_changesets |
|
128 | 128 | @repository.reload |
|
129 | 129 | [21, '21', 'adf805632193'].each do |r1| |
@@ -199,9 +199,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
199 | 199 | :sibling => { :tag => 'td', :content => /WITHOUT ANY WARRANTY/ } |
|
200 | 200 | end |
|
201 | 201 | |
|
202 | def test_entry_show_latin_1 | |
|
202 | def test_entry_show_latin_1_path | |
|
203 | 203 | [21, '21', 'adf805632193'].each do |r1| |
|
204 | get :entry, :id => PRJ_ID, :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1 | |
|
204 | get :entry, :id => PRJ_ID, | |
|
205 | :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1 | |
|
205 | 206 | assert_response :success |
|
206 | 207 | assert_template 'entry' |
|
207 | 208 | assert_tag :tag => 'th', |
@@ -270,7 +271,7 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
270 | 271 | end |
|
271 | 272 | end |
|
272 | 273 | |
|
273 | def test_diff_latin_1 | |
|
274 | def test_diff_latin_1_path | |
|
274 | 275 | [21, 'adf805632193'].each do |r1| |
|
275 | 276 | get :diff, :id => PRJ_ID, :rev => r1 |
|
276 | 277 | assert_response :success |
@@ -323,9 +324,10 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||
|
323 | 324 | end |
|
324 | 325 | end |
|
325 | 326 | |
|
326 | def test_annotate_latin_1 | |
|
327 | def test_annotate_latin_1_path | |
|
327 | 328 | [21, '21', 'adf805632193'].each do |r1| |
|
328 | get :annotate, :id => PRJ_ID, :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1 | |
|
329 | get :annotate, :id => PRJ_ID, | |
|
330 | :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1 | |
|
329 | 331 | assert_response :success |
|
330 | 332 | assert_template 'annotate' |
|
331 | 333 | assert_tag :tag => 'th', |
General Comments 0
You need to be logged in to leave comments.
Login now