From 1cb1bc7c96ddd80583dfd885917f61e09a60fea9 2013-01-14 22:43:26 From: Jean-Philippe Lang Date: 2013-01-14 22:43:26 Subject: [PATCH] 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 --- diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index a1ef6a1..2af8830 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