about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-07-19 12:09:41 +0200
committerGitHub <noreply@github.com>2021-07-19 12:09:41 +0200
commita2df067f9852f0db3140dd2c35539f4e74bdb6dc (patch)
treec18376b570831e1595362f001341599f1a5a8a36 /spec
parente42ed4502f9e4a599ecf7a860b7de80090ba46ad (diff)
parentd1c87be8cf0837f96290b5c2e127b7ce2e3dbb41 (diff)
Merge pull request #1569 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/settings/deletes_controller_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/controllers/settings/deletes_controller_spec.rb b/spec/controllers/settings/deletes_controller_spec.rb
index 8d5c4774f..92ab401c9 100644
--- a/spec/controllers/settings/deletes_controller_spec.rb
+++ b/spec/controllers/settings/deletes_controller_spec.rb
@@ -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 }) }