Merge branch '62363-follow-up-from-move-more-project-routes-under-scope' into 'master'
Add controller spec for deploy tokens Closes #62363 See merge request gitlab-org/gitlab-ce!30311
This commit is contained in:
commit
1dcb9b7d32
1 changed files with 6 additions and 0 deletions
|
@ -713,4 +713,10 @@ describe 'project routing' do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe Projects::DeployTokensController, 'routing' do
|
||||
it 'routes to deploy_tokens#revoke' do
|
||||
expect(put("/gitlab/gitlabhq/-/deploy_tokens/1/revoke")).to route_to("projects/deploy_tokens#revoke", namespace_id: 'gitlab', project_id: 'gitlabhq', id: '1')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue