Commit 20c8d6e6 authored by Riyad Preukschas's avatar Riyad Preukschas

Merge pull request #2222 from jojosch/add-test-help-raketasks

add help/raketasks to routing spec and search autocomplete
parents d476bc01 3a481777
......@@ -95,6 +95,7 @@ module ApplicationHelper
{ label: "API Help", url: help_api_path },
{ label: "Markdown Help", url: help_markdown_path },
{ label: "SSH Keys Help", url: help_ssh_path },
{ label: "Gitlab Rake Tasks Help", url: help_raketasks_path },
]
project_nav = []
......
......@@ -33,6 +33,7 @@ end
# help_system_hooks GET /help/system_hooks(.:format) help#system_hooks
# help_markdown GET /help/markdown(.:format) help#markdown
# help_ssh GET /help/ssh(.:format) help#ssh
# help_raketasks GET /help/raketasks(.:format) help#raketasks
describe HelpController, "routing" do
it "to #index" do
get("/help").should route_to('help#index')
......@@ -65,6 +66,10 @@ describe HelpController, "routing" do
it "to #ssh" do
get("/help/ssh").should route_to('help#ssh')
end
it "to #raketasks" do
get("/help/raketasks").should route_to('help#raketasks')
end
end
# errors_githost GET /errors/githost(.:format) errors#githost
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment