about summary refs log tree commit diff
path: root/spec/services/activitypub
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-04-01 19:10:44 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-04-01 19:10:44 +0200
commit2acd8940de596ab119e35bd204fe55e06b914403 (patch)
tree36a7355343fb50dc71fa04d982f3d6377eb8aaa4 /spec/services/activitypub
parent85973f4f37c8b94422f267654018d0d7f88ba32b (diff)
Fix more keybase-related test failures (#10443)
Diffstat (limited to 'spec/services/activitypub')
-rw-r--r--spec/services/activitypub/process_account_service_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/services/activitypub/process_account_service_spec.rb b/spec/services/activitypub/process_account_service_spec.rb
index fee502949..5141e3f16 100644
--- a/spec/services/activitypub/process_account_service_spec.rb
+++ b/spec/services/activitypub/process_account_service_spec.rb
@@ -56,6 +56,8 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
     end
 
     it 'removes no longer present proofs' do
+      allow(ProofProvider::Keybase::Worker).to receive(:perform_async)
+
       account   = Fabricate(:account, username: 'alice', domain: 'example.com')
       old_proof = Fabricate(:account_identity_proof, account: account, provider: 'keybase', provider_username: 'Bob', token: 'b' * 66)