Fix failing keybase-related test (#10428)

lolsob-rspec
ThibG 2019-03-30 18:15:23 +01:00 committed by Eugen Rochko
parent 1289e86116
commit 3ce98a995e
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