Fix more keybase-related test failures (#10443)

lolsob-rspec
ThibG 2019-04-01 19:10:44 +02:00 committed by Eugen Rochko
parent 67cd7abbb1
commit ec3dab2b7f
1 changed files with 2 additions and 0 deletions

View 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)