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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-08 00:18:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-08 00:18:32 +0300
commit0f6fb8a8c9ccad0d0f4b8c5e2f72aa50d35a0d0d (patch)
treef6f7b86a0d17096a1a27740d5c2fedbd5a3b6815 /spec/routing
parent7fcb54624b31ff4b118d64ca4df36cba6d26c3eb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/project_routing_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index f3d0179ffdd..425b758e748 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -899,6 +899,12 @@ RSpec.describe 'project routing' do
end
end
+ describe Projects::Ci::SecureFilesController, 'routing' do
+ it 'to #show' do
+ expect(get('/gitlab/gitlabhq/-/ci/secure_files')).to route_to('projects/ci/secure_files#show', namespace_id: 'gitlab', project_id: 'gitlabhq')
+ end
+ end
+
context 'with a non-existent project' do
it 'routes to 404 with get request' do
expect(get: "/gitlab/not_exist").to route_to(