Project

General

Profile

Patch #28932 » application_helper_test.rb.patch

Pavel Rosický, 2018-06-01 21:45

View differences:

application_helper_test.rb (working copy)
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
    (1-1/1)