Fix failing keybase-related test (#10428)

signup-info-prompt
ThibG 2019-03-30 18:15:23 +01:00 committed by Eugen Rochko
parent 51625d3423
commit abecaba317
1 changed files with 2 additions and 0 deletions

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