Commit 914c7c25 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Lin Jen-Shin

Add routing spec for deploy_tokens controller

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 2d9cd76f
......@@ -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