Commit a53a75f4 authored by Marcel Amirault's avatar Marcel Amirault Committed by Dylan Griffith

Remove references to docs /workflow dir

parent a58d9a88
...@@ -131,8 +131,7 @@ module SearchHelper ...@@ -131,8 +131,7 @@ module SearchHelper
{ category: "Help", label: _("Rake Tasks Help"), url: help_page_path("raketasks/README") }, { category: "Help", label: _("Rake Tasks Help"), url: help_page_path("raketasks/README") },
{ category: "Help", label: _("SSH Keys Help"), url: help_page_path("ssh/README") }, { category: "Help", label: _("SSH Keys Help"), url: help_page_path("ssh/README") },
{ category: "Help", label: _("System Hooks Help"), url: help_page_path("system_hooks/system_hooks") }, { category: "Help", label: _("System Hooks Help"), url: help_page_path("system_hooks/system_hooks") },
{ category: "Help", label: _("Webhooks Help"), url: help_page_path("user/project/integrations/webhooks") }, { category: "Help", label: _("Webhooks Help"), url: help_page_path("user/project/integrations/webhooks") }
{ category: "Help", label: _("Workflow Help"), url: help_page_path("workflow/README") }
] ]
end end
......
...@@ -29237,9 +29237,6 @@ msgstr "" ...@@ -29237,9 +29237,6 @@ msgstr ""
msgid "Work in progress Limit" msgid "Work in progress Limit"
msgstr "" msgstr ""
msgid "Workflow Help"
msgstr ""
msgid "Would you like to create a new branch?" msgid "Would you like to create a new branch?"
msgstr "" msgstr ""
......
...@@ -29,7 +29,7 @@ RSpec.describe SearchHelper do ...@@ -29,7 +29,7 @@ RSpec.describe SearchHelper do
end end
it "includes Help sections" do it "includes Help sections" do
expect(search_autocomplete_opts("hel").size).to eq(9) expect(search_autocomplete_opts("hel").size).to eq(8)
end end
it "includes default sections" do it "includes default sections" do
......
...@@ -119,9 +119,9 @@ RSpec.describe HelpController, "routing" do ...@@ -119,9 +119,9 @@ RSpec.describe HelpController, "routing" do
path: 'user/markdown', path: 'user/markdown',
format: 'md') format: 'md')
path = '/help/workflow/protected_branches/protected_branches1.png' path = '/help/user/markdown/markdown_logo.png'
expect(get(path)).to route_to('help#show', expect(get(path)).to route_to('help#show',
path: 'workflow/protected_branches/protected_branches1', path: 'user/markdown/markdown_logo',
format: 'png') format: 'png')
end end
end end
......
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