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 ...@@ -95,6 +95,7 @@ module ApplicationHelper
{ label: "API Help", url: help_api_path }, { label: "API Help", url: help_api_path },
{ label: "Markdown Help", url: help_markdown_path }, { label: "Markdown Help", url: help_markdown_path },
{ label: "SSH Keys Help", url: help_ssh_path }, { label: "SSH Keys Help", url: help_ssh_path },
{ label: "Gitlab Rake Tasks Help", url: help_raketasks_path },
] ]
project_nav = [] project_nav = []
......
...@@ -33,6 +33,7 @@ end ...@@ -33,6 +33,7 @@ end
# help_system_hooks GET /help/system_hooks(.:format) help#system_hooks # help_system_hooks GET /help/system_hooks(.:format) help#system_hooks
# help_markdown GET /help/markdown(.:format) help#markdown # help_markdown GET /help/markdown(.:format) help#markdown
# help_ssh GET /help/ssh(.:format) help#ssh # help_ssh GET /help/ssh(.:format) help#ssh
# help_raketasks GET /help/raketasks(.:format) help#raketasks
describe HelpController, "routing" do describe HelpController, "routing" do
it "to #index" do it "to #index" do
get("/help").should route_to('help#index') get("/help").should route_to('help#index')
...@@ -65,6 +66,10 @@ describe HelpController, "routing" do ...@@ -65,6 +66,10 @@ describe HelpController, "routing" do
it "to #ssh" do it "to #ssh" do
get("/help/ssh").should route_to('help#ssh') get("/help/ssh").should route_to('help#ssh')
end end
it "to #raketasks" do
get("/help/raketasks").should route_to('help#raketasks')
end
end end
# errors_githost GET /errors/githost(.:format) errors#githost # 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