Merge pull request #2222 from jojosch/add-test-help-raketasks
add help/raketasks to routing spec and search autocomplete
This commit is contained in:
commit
20c8d6e644
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue