gearheads
/
mastodon
Archived
2
0
Fork 0

Enable local account key generation spec (#24728)

gh/dev
Matt Jankowski 2023-04-29 20:28:52 -04:00 committed by GitHub
parent e0d075713f
commit 274d561430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -951,10 +951,10 @@ RSpec.describe Account, type: :model do
end end
context 'when is local' do context 'when is local' do
# Test disabled because test environment omits autogenerating keys for performance it 'generates keys' do
xit 'generates keys' do
account = Account.create!(domain: nil, username: Faker::Internet.user_name(separators: ['_'])) account = Account.create!(domain: nil, username: Faker::Internet.user_name(separators: ['_']))
expect(account.keypair.private?).to be true expect(account.keypair).to be_private
expect(account.keypair).to be_public
end end
end end