diff options
Diffstat (limited to 'spec/features/profiles/keys_spec.rb')
-rw-r--r-- | spec/features/profiles/keys_spec.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/features/profiles/keys_spec.rb b/spec/features/profiles/keys_spec.rb index b9e59a0239b..fde85a731a1 100644 --- a/spec/features/profiles/keys_spec.rb +++ b/spec/features/profiles/keys_spec.rb @@ -49,7 +49,12 @@ RSpec.describe 'Profile > SSH Keys' do context 'when only DSA and ECDSA keys are allowed' do before do forbidden = ApplicationSetting::FORBIDDEN_KEY_VALUE - stub_application_setting(rsa_key_restriction: forbidden, ed25519_key_restriction: forbidden) + stub_application_setting( + rsa_key_restriction: forbidden, + ed25519_key_restriction: forbidden, + ecdsa_sk_key_restriction: forbidden, + ed25519_sk_key_restriction: forbidden + ) end it 'shows a validation error' do |