summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-14 22:43:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-14 22:43:26 +0000
commit1cb1bc7c96ddd80583dfd885917f61e09a60fea9 (patch)
treeabc653060da318dd60c2e6a110589afd89b68455 /test/functional
parent6326752290a953c46601a3d4017ec12603ec8192 (diff)
downloadredmine-1cb1bc7c96ddd80583dfd885917f61e09a60fea9.tar.gz
redmine-1cb1bc7c96ddd80583dfd885917f61e09a60fea9.zip
Attachment name is added in the generated link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11192 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/wiki_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index a1ef6a1b6..2af8830d9 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -53,7 +53,7 @@ class WikiControllerTest < ActionController::TestCase
assert_tag :tag => 'h1', :content => /Another page/
# Included page with an inline image
assert_tag :tag => 'p', :content => /This is an inline image/
- assert_tag :tag => 'img', :attributes => { :src => '/attachments/download/3',
+ assert_tag :tag => 'img', :attributes => { :src => '/attachments/download/3/logo.gif',
:alt => 'This is a logo' }
end