提交 914c7c25 编写于 作者: D Dmitriy Zaporozhets 提交者: Lin Jen-Shin

Add routing spec for deploy_tokens controller

Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
上级 2d9cd76f
...@@ -713,4 +713,10 @@ describe 'project routing' do ...@@ -713,4 +713,10 @@ describe 'project routing' do
end end
end 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 end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册