From: ThibG Date: Sat, 30 Mar 2019 17:15:23 +0000 (+0100) Subject: Fix failing keybase-related test (#10428) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=abecaba317b3c28040efba2d3b84397ffbe85603;p=mastodon.git Fix failing keybase-related test (#10428) --- diff --git a/spec/services/activitypub/process_account_service_spec.rb b/spec/services/activitypub/process_account_service_spec.rb index ab8fb5cc3..fee502949 100644 --- a/spec/services/activitypub/process_account_service_spec.rb +++ b/spec/services/activitypub/process_account_service_spec.rb @@ -42,6 +42,8 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do end it 'parses out of attachment' do + allow(ProofProvider::Keybase::Worker).to receive(:perform_async) + account = subject.call('alice', 'example.com', payload) expect(account.identity_proofs.count).to eq 1