summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-07-14 17:52:17 +0530
committerkushalpandya <kushal@gitlab.com>2017-07-14 17:52:17 +0530
commitfa0e43bb578d3e126776a6a6763b943d0363d3e5 (patch)
tree65d01654c1eaf83f511d4303f6b7f245300adcd7
parent5078d22377fd189db14e4ee0f640f1fca9b09176 (diff)
downloadgitlab-ce-19629-remove-inactive-tokens-list.tar.gz
Update test description to reflect behaviour19629-remove-inactive-tokens-list
-rw-r--r--spec/features/admin/admin_users_impersonation_tokens_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_users_impersonation_tokens_spec.rb b/spec/features/admin/admin_users_impersonation_tokens_spec.rb
index f0273ae31c0..d01722805c4 100644
--- a/spec/features/admin/admin_users_impersonation_tokens_spec.rb
+++ b/spec/features/admin/admin_users_impersonation_tokens_spec.rb
@@ -64,7 +64,7 @@ describe 'Admin > Users > Impersonation Tokens', feature: true, js: true do
expect(no_personal_access_tokens_message).to have_text("This user has no active Impersonation Tokens.")
end
- it "moves expired tokens to the 'inactive' section" do
+ it "removes expired tokens from 'active' section" do
impersonation_token.update(expires_at: 5.days.ago)
visit admin_user_impersonation_tokens_path(user_id: user.username)