summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-20 15:06:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-20 15:06:39 +0000
commit97b63407ef0ecacc239fe320a9b87eefdebfe70c (patch)
tree64f9ab65e07bee7d37c1559e59e1607dc819cfe1 /qa
parenta68e9d3318c6847436f81f83eb347b29f52d1bff (diff)
downloadgitlab-ce-97b63407ef0ecacc239fe320a9b87eefdebfe70c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/tools/revoke_all_personal_access_tokens.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/qa/tools/revoke_all_personal_access_tokens.rb b/qa/qa/tools/revoke_all_personal_access_tokens.rb
index f14975c0e5e..e33d522bece 100644
--- a/qa/qa/tools/revoke_all_personal_access_tokens.rb
+++ b/qa/qa/tools/revoke_all_personal_access_tokens.rb
@@ -32,9 +32,9 @@ module QA
token_name = 'api-test-token'
- Page::Profile::PersonalAccessTokens.perform do |page| # rubocop:disable QA/AmbiguousPageObjectName
- while page.has_token_row_for_name?(token_name)
- page.revoke_first_token_with_name(token_name)
+ Page::Profile::PersonalAccessTokens.perform do |tokens_page|
+ while tokens_page.has_token_row_for_name?(token_name)
+ tokens_page.revoke_first_token_with_name(token_name)
print "\e[32m.\e[0m"
end
end