diff options
author | Fabian Schneider <fabbbbbi+git@googlemail.com> | 2018-10-05 09:42:38 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-10-05 09:42:38 +0000 |
commit | b55c320c89b939718562f9d6a606e831cbb776c4 (patch) | |
tree | ffdfadfbba26e0db8f3e6e06ebe214174e3b6b54 /spec/routing | |
parent | 16d038da1c5c38c02fbc300eb180c64b67a0d908 (diff) | |
download | gitlab-ce-b55c320c89b939718562f9d6a606e831cbb776c4.tar.gz |
Resolve "Drop down filter for project snippets"
Diffstat (limited to 'spec/routing')
-rw-r--r-- | spec/routing/project_routing_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb index 56df8dddbc1..bdfb12dc5df 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -133,8 +133,9 @@ describe 'project routing' do # labels_namespace_project_autocomplete_sources_path GET /:project_id/autocomplete_sources/labels(.:format) projects/autocomplete_sources#labels # milestones_namespace_project_autocomplete_sources_path GET /:project_id/autocomplete_sources/milestones(.:format) projects/autocomplete_sources#milestones # commands_namespace_project_autocomplete_sources_path GET /:project_id/autocomplete_sources/commands(.:format) projects/autocomplete_sources#commands + # snippets_namespace_project_autocomplete_sources_path GET /:project_id/autocomplete_sources/snippets(.:format) projects/autocomplete_sources#snippets describe Projects::AutocompleteSourcesController, 'routing' do - [:members, :issues, :merge_requests, :labels, :milestones, :commands].each do |action| + [:members, :issues, :merge_requests, :labels, :milestones, :commands, :snippets].each do |action| it "to ##{action}" do expect(get("/gitlab/gitlabhq/autocomplete_sources/#{action}")).to route_to("projects/autocomplete_sources##{action}", namespace_id: 'gitlab', project_id: 'gitlabhq') end |