Commit 1dcb9b7d authored by Lin Jen-Shin's avatar Lin Jen-Shin

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
parents 2d9cd76f 914c7c25
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment