mirror of
https://github.com/redmine/redmine.git
synced 2026-07-14 21:43:41 +02:00
Show 'text-plain' icon for Markdown and Textile files (#43805).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24412 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -135,8 +135,9 @@ class IconsHelperTest < Redmine::HelperTest
|
||||
end
|
||||
|
||||
def test_icon_for_mime_type_should_return_specific_icon_for_known_mime_types
|
||||
assert_equal 'text-plain', icon_for_mime_type('text/plain')
|
||||
assert_equal 'application-pdf', icon_for_mime_type('application/pdf')
|
||||
assert_equal 'text-plain', icon_for_mime_type('text/markdown')
|
||||
assert_equal 'text-plain', icon_for_mime_type('text/plain')
|
||||
end
|
||||
|
||||
def test_icon_for_mime_type_should_return_icon_for_top_level_types
|
||||
|
||||
Reference in New Issue
Block a user