diff options
| author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-19 11:17:14 -0600 |
|---|---|---|
| committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-19 11:17:14 -0600 |
| commit | 16a8160e9f1cc2874a39dfd2d6a6abea9bcfead5 (patch) | |
| tree | ec308b39932cfaf6bee3c61b0a6cb4ba61833c42 /spec/routing | |
| parent | 81e57e783e8882de21d27d9191c09404ed7faca3 (diff) | |
| download | gitlab-ce-16a8160e9f1cc2874a39dfd2d6a6abea9bcfead5.tar.gz | |
Fix help page paths to make sure shortcuts and the UI help page work.fix-help-paths
Add a test to make sure the help page UI path doesn't break in the future.
Fix #19972 and #19889.
Diffstat (limited to 'spec/routing')
| -rw-r--r-- | spec/routing/routing_spec.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index 2c755919456..0a52c1ab933 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -116,12 +116,9 @@ describe HelpController, "routing" do expect(get(path)).to route_to('help#show', path: 'workflow/protected_branches/protected_branches1', format: 'png') - path = '/help/shortcuts' - expect(get(path)).to route_to('help#show', - path: 'shortcuts') + path = '/help/ui' - expect(get(path)).to route_to('help#show', - path: 'ui') + expect(get(path)).to route_to('help#ui') end end |
