Fix failing keybase-related test (#10428)

This commit is contained in:
ThibG 2019-03-30 18:15:23 +01:00 committed by Eugen Rochko
parent 51625d3423
commit abecaba317

View file

@ -42,6 +42,8 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
end end
it 'parses out of attachment' do it 'parses out of attachment' do
allow(ProofProvider::Keybase::Worker).to receive(:perform_async)
account = subject.call('alice', 'example.com', payload) account = subject.call('alice', 'example.com', payload)
expect(account.identity_proofs.count).to eq 1 expect(account.identity_proofs.count).to eq 1