##// END OF EJS Templates
Attachment name is added in the generated link....
Jean-Philippe Lang -
r10963:17e8664b616a
parent child
Show More
@@ -57,7 +57,7 class AttachmentsTest < ActionController::IntegrationTest
57 57 }
58 58 assert_response :success
59 59
60 attachment_path = response.body.match(%r{<img src="(/attachments/download/\d+)"})[1]
60 attachment_path = response.body.match(%r{<img src="(/attachments/download/\d+/myupload.jpg)"})[1]
61 61 assert_not_nil token, "No attachment path found in response:\n#{response.body}"
62 62
63 63 get attachment_path
General Comments 0
You need to be logged in to leave comments. Login now