diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-07-10 15:58:35 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-07-10 15:58:35 +0000 |
commit | 1dcb9b7d32574b6a66750320422f394a0aa59673 (patch) | |
tree | a3d06b372784687856489f70ec02e765aab01861 | |
parent | 2d9cd76f4f7319a9f4cafc5a01e6b5f29d3cb1fc (diff) | |
parent | 914c7c25eb98b5aa039a6fb8ed9cbed95cf44394 (diff) | |
download | gitlab-ce-1dcb9b7d32574b6a66750320422f394a0aa59673.tar.gz |
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
-rw-r--r-- | spec/routing/project_routing_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb index 6dde40d1cb6..8a3de2a52fc 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -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 |