Commit fa0e43bb authored by kushalpandya's avatar kushalpandya

Update test description to reflect behaviour

parent 5078d223
...@@ -64,7 +64,7 @@ describe 'Admin > Users > Impersonation Tokens', feature: true, js: true do ...@@ -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.") expect(no_personal_access_tokens_message).to have_text("This user has no active Impersonation Tokens.")
end 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) impersonation_token.update(expires_at: 5.days.ago)
visit admin_user_impersonation_tokens_path(user_id: user.username) visit admin_user_impersonation_tokens_path(user_id: user.username)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment