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-15 21:08:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-15 21:08:10 +0300
commit7f08e6916d8259a8ed1549cb54460f0b746d9d8b (patch)
tree40853e994af97de42bd68076bd0bffa6be5c2814 /spec/routing
parentcb7f766437db0c483adf3c128e35c64237a2ef53 (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, 4 insertions, 2 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index 3a935ddbdd8..65772895826 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -70,9 +70,11 @@ RSpec.describe 'project routing' do
route_to('projects#preview_markdown', namespace_id: 'gitlab', id: 'gitlabhq')
)
end
+ end
- it 'to #resolve' do
- expect(get('/projects/1')).to route_to('projects#resolve', id: '1')
+ describe Projects::RedirectController, 'routing' do
+ it 'to #redirect_from_id' do
+ expect(get('/projects/1')).to route_to('projects/redirect#redirect_from_id', id: '1')
end
end