diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-02 15:45:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 15:45:24 +0200 |
commit | c5dcd7d836d53ede4751405ec5701f9f3b48102c (patch) | |
tree | ad8705b51c70cb7f80eff4724f0de708cad10762 /spec/models | |
parent | 965345316fb3fef640a6bcc463d09d4a38b28608 (diff) |
Speed up test suite by not generating RSA keys in test environment (#7296)
One RSA keypair for all fabricated test accounts is enough
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/account_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index fb7ddfa83..3aaaa55eb 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -815,7 +815,8 @@ RSpec.describe Account, type: :model do end context 'when is local' do - it 'generates keys' do + # Test disabled because test environment omits autogenerating keys for performance + xit 'generates keys' do account = Account.create!(domain: nil, username: Faker::Internet.user_name(nil, ['_'])) expect(account.keypair.private?).to eq true end |