]> cat aescling's git repositories - mastodon.git/commitdiff
Fix more keybase-related test failures (#10443)
authorThibG <thib@sitedethib.com>
Mon, 1 Apr 2019 17:10:44 +0000 (19:10 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 1 Apr 2019 17:10:44 +0000 (19:10 +0200)
spec/services/activitypub/process_account_service_spec.rb

index fee502949b9ec2c0b52ce42b5ff4eb455ec7d385..5141e3f16568853048dc16dff00ed4f3daf75d6a 100644 (file)
@@ -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)