about summary refs log tree commit diff
path: root/spec/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-23 22:37:23 +0200
committerGitHub <noreply@github.com>2019-08-23 22:37:23 +0200
commit73ca0bb925cb036f824262ab292a157a40a515d0 (patch)
tree06373f7b57dc3976a647d703204505b49ec64e61 /spec/models
parent37f612074efeb793fafbe19c90698b98b278447d (diff)
Add option to include reported statuses in warning e-mail (#11639)
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/admin/account_action_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/admin/account_action_spec.rb b/spec/models/admin/account_action_spec.rb
index a3db60cfc..87fc28500 100644
--- a/spec/models/admin/account_action_spec.rb
+++ b/spec/models/admin/account_action_spec.rb
@@ -58,8 +58,8 @@ RSpec.describe Admin::AccountAction, type: :model do
       end.to change { Admin::ActionLog.count }.by 1
     end
 
-    it 'calls queue_email!' do
-      expect(account_action).to receive(:queue_email!)
+    it 'calls process_email!' do
+      expect(account_action).to receive(:process_email!)
       subject
     end