diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 885a79dbb..43d7c35e0 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -209,7 +209,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest end end - def test_show_text_file_formated_markdown + def test_show_text_file_formatted_markdown set_tmp_attachments_directory a = Attachment.new(:container => Issue.find(1), :file => uploaded_test_file('testfile.md', 'text/plain'), @@ -222,7 +222,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest assert_select 'div.wiki', :html => "

Header 1

\n\n

Header 2

\n\n

Header 3

" end - def test_show_text_file_fromated_textile + def test_show_text_file_formatted_textile set_tmp_attachments_directory a = Attachment.new(:container => Issue.find(1), :file => uploaded_test_file('testfile.textile', 'text/plain'),