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:
authorDouwe Maan <douwe@selenight.nl>2017-04-13 19:44:52 +0300
committerDouwe Maan <douwe@selenight.nl>2017-04-18 03:03:21 +0300
commit00c4e1410388b6d85e3f163204a49c31f76b5349 (patch)
tree569f3ee35a2bcebc5c2eda71fbb84d5ec92c8e4e /spec/routing
parent41acc87fbd457d2894fb519eb48f215d017ddec2 (diff)
Remove format from end of URL for URLs that take a ref or path
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/project_routing_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index 4baccacd448..a3de022d242 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -484,7 +484,7 @@ describe 'project routing' do
end
it 'to #list' do
- expect(get('/gitlab/gitlabhq/files/master.json')).to route_to('projects/find_file#list', namespace_id: 'gitlab', project_id: 'gitlabhq', id: 'master', format: 'json')
+ expect(get('/gitlab/gitlabhq/files/master.json')).to route_to('projects/find_file#list', namespace_id: 'gitlab', project_id: 'gitlabhq', id: 'master.json')
end
end