diff options
-rw-r--r-- | test/integration/attachments_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/attachments_test.rb b/test/integration/attachments_test.rb index cbd42001b..7c21c822d 100644 --- a/test/integration/attachments_test.rb +++ b/test/integration/attachments_test.rb @@ -57,7 +57,7 @@ class AttachmentsTest < ActionController::IntegrationTest } assert_response :success - attachment_path = response.body.match(%r{<img src="(/attachments/download/\d+)"})[1] + attachment_path = response.body.match(%r{<img src="(/attachments/download/\d+/myupload.jpg)"})[1] assert_not_nil token, "No attachment path found in response:\n#{response.body}" get attachment_path |