提交 fa0e43bb 编写于 作者: K kushalpandya

Update test description to reflect behaviour

上级 5078d223
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册