Преглед на файлове

Rails 5.2: image_tag no longer generates default alt text (#28932).

Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17356 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.0.0
Go MAEDA преди 6 години
родител
ревизия
e7c4970b94
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      test/helpers/application_helper_test.rb

+ 1
- 1
test/helpers/application_helper_test.rb Целия файл

@@ -1409,7 +1409,7 @@ RAW
def test_thumbnail_tag
a = Attachment.find(3)
assert_select_in thumbnail_tag(a),
'a[href=?][title=?] img[alt="3"][src=?]',
'a[href=?][title=?] img[src=?]',
"/attachments/3/logo.gif", "logo.gif", "/attachments/thumbnail/3"
end


Loading…
Отказ
Запис