@@ -72,12 +72,12 class AttachmentsControllerTest < ActionController::TestCase | |||
|
72 | 72 | |
|
73 | 73 | def test_show_diff_latin_1 |
|
74 | 74 | with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do |
|
75 | ['inline', 'sbs'].each do |dt| | |
|
75 | 76 | # 060719210727_changeset_iso8859-1.diff |
|
76 | 77 | get :show, :id => 5 |
|
77 | 78 | assert_response :success |
|
78 | 79 | assert_template 'diff' |
|
79 | 80 | assert_equal 'text/html', @response.content_type |
|
80 | ||
|
81 | 81 | assert_tag 'th', |
|
82 | 82 | :attributes => {:class => "filename"}, |
|
83 | 83 | :content => /issues_controller.rb\t\(révision 1484\)/ |
@@ -86,6 +86,7 class AttachmentsControllerTest < ActionController::TestCase | |||
|
86 | 86 | :content => /Demande créée avec succès/ |
|
87 | 87 | end |
|
88 | 88 | end |
|
89 | end | |
|
89 | 90 | |
|
90 | 91 | def test_show_text_file |
|
91 | 92 | get :show, :id => 4 |
General Comments 0
You need to be logged in to leave comments.
Login now