Patch #28932 » application_helper_test.rb.patch
| application_helper_test.rb (working copy) | ||
|---|---|---|
| 1409 | 1409 |
def test_thumbnail_tag |
| 1410 | 1410 |
a = Attachment.find(3) |
| 1411 | 1411 |
assert_select_in thumbnail_tag(a), |
| 1412 |
'a[href=?][title=?] img[alt="3"][src=?]',
|
|
| 1412 |
'a[href=?][title=?] img[src=?]', |
|
| 1413 | 1413 |
"/attachments/3/logo.gif", "logo.gif", "/attachments/thumbnail/3" |
| 1414 | 1414 |
end |
| 1415 | 1415 | |