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
path: root/spec
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-04-18 04:36:06 +0300
committerRobert Speicher <robert@gitlab.com>2017-04-18 04:36:06 +0300
commit60196e8bcce1b74d5dee8021f3c69aa8e0aff717 (patch)
tree06ea562cbec9a1816da3dddf6b2f0b6a5a46d95e /spec
parent40ab0e9168382ea446be721aac22c901fa983e3e (diff)
parent00c4e1410388b6d85e3f163204a49c31f76b5349 (diff)
Merge branch 'dm-no-format-suffix' into 'master'
Remove format from end of URL for URLs that take a ref or path See merge request !10740
Diffstat (limited to 'spec')
-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