Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2021-07-17 17:45:35 +02:00
commit d1c87be8cf
8 files changed
+19 -36

No files matched your search

@@ -59,6 +59,10 @@ describe Settings::DeletesController do
expect(user.account.reload).to be_suspended
end
it 'does not create an email block' do
expect(CanonicalEmailBlock.block?(user.email)).to be false
end
context 'when suspended' do
let(:user) { Fabricate(:user, account_attributes: { username: 'alice', suspended_at: Time.now.utc }) }