diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-05 18:56:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-05 18:56:08 +0000 |
commit | c37abb64151e18461cb739ed4658d912a7c752e8 (patch) | |
tree | 18bedea9c05107adcaf4cfc5061a4d734756076b /test/functional/wiki_controller_test.rb | |
parent | c6271d836168af455fcc9510907fb4fb330f1d62 (diff) | |
download | redmine-c37abb64151e18461cb739ed4658d912a7c752e8.tar.gz redmine-c37abb64151e18461cb739ed4658d912a7c752e8.zip |
Inline images alt attribute set to the attachment description.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1328 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r-- | test/functional/wiki_controller_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index 68e52600f..bf31e6614 100644 --- a/test/functional/wiki_controller_test.rb +++ b/test/functional/wiki_controller_test.rb @@ -45,7 +45,8 @@ class WikiControllerTest < Test::Unit::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', + :alt => 'This is a logo' } end def test_show_unexistent_page_without_edit_right |