diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-14 23:07:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-14 23:07:26 +0000 |
commit | 17e8664b616a90cce40ee9d9c0ac2791eb0ee10c (patch) | |
tree | 1ab13c89998fec6e070c46d87a677073558f7ef9 | |
parent | 1cb1bc7c96ddd80583dfd885917f61e09a60fea9 (diff) | |
download | redmine-17e8664b616a90cce40ee9d9c0ac2791eb0ee10c.tar.gz redmine-17e8664b616a90cce40ee9d9c0ac2791eb0ee10c.zip |
Attachment name is added in the generated link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11193 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 |