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
This commit is contained in:
parent
6326752290
commit
1cb1bc7c96
|
@ -53,7 +53,7 @@ class WikiControllerTest < ActionController::TestCase
|
||||||
assert_tag :tag => 'h1', :content => /Another page/
|
assert_tag :tag => 'h1', :content => /Another page/
|
||||||
# Included page with an inline image
|
# Included page with an inline image
|
||||||
assert_tag :tag => 'p', :content => /This is 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' }
|
:alt => 'This is a logo' }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue