Update test description to reflect behaviour

This commit is contained in:
kushalpandya 2017-07-14 17:52:17 +05:30
parent 5078d22377
commit fa0e43bb57
1 changed files with 1 additions and 1 deletions

View File

@ -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)