Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/routing/routing_spec.rb')
-rw-r--r--spec/routing/routing_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index a59ca5211ed..7c4f040266e 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -113,14 +113,10 @@ RSpec.describe HelpController, "routing" do
it 'to #show' do
path = '/help/user/markdown.md'
- expect(get(path)).to route_to('help#show',
- path: 'user/markdown',
- format: 'md')
+ expect(get(path)).to route_to('help#show', path: 'user/markdown', format: 'md')
path = '/help/user/markdown/markdown_logo.png'
- expect(get(path)).to route_to('help#show',
- path: 'user/markdown/markdown_logo',
- format: 'png')
+ expect(get(path)).to route_to('help#show', path: 'user/markdown/markdown_logo', format: 'png')
end
end