~cytrogen/masto-fe

274d5614308f88026db4afd53e089e2e99fe5968 — Matt Jankowski 2 years ago e0d0757
Enable local account key generation spec (#24728)

1 files changed, 3 insertions(+), 3 deletions(-)

M spec/models/account_spec.rb
M spec/models/account_spec.rb => spec/models/account_spec.rb +3 -3
@@ 951,10 951,10 @@ RSpec.describe Account, type: :model do
  end

  context 'when is local' do
    # Test disabled because test environment omits autogenerating keys for performance
    xit 'generates keys' do
    it 'generates keys' do
      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