mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 04:21:23 +01:00
git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -81,4 +81,11 @@ class HelpControllerTest < Redmine::ControllerTest
|
||||
|
||||
assert_match "Wiki Syntax Quick Reference (CommonMark Markdown (GitHub Flavored))", response.body
|
||||
end
|
||||
|
||||
def test_get_help_code_highlighting
|
||||
get :show_code_highlighting
|
||||
assert_response :success
|
||||
|
||||
assert_select 'h1', :text => "List of languages supported by Redmine code highlighter"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -23,5 +23,7 @@ class RoutingHelpTest < Redmine::RoutingTest
|
||||
def test_help
|
||||
should_route 'GET /help/wiki_syntax' => 'help#show_wiki_syntax'
|
||||
should_route 'GET /help/wiki_syntax/detailed' => 'help#show_wiki_syntax', :type => "detailed"
|
||||
|
||||
should_route 'GET /help/code_highlighting' => 'help#show_code_highlighting'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user