diff options
Diffstat (limited to 'spec/lib/api/entities/ssh_key_spec.rb')
-rw-r--r-- | spec/lib/api/entities/ssh_key_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/lib/api/entities/ssh_key_spec.rb b/spec/lib/api/entities/ssh_key_spec.rb index 768ad416fbe..b4310035a66 100644 --- a/spec/lib/api/entities/ssh_key_spec.rb +++ b/spec/lib/api/entities/ssh_key_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe API::Entities::SSHKey do +RSpec.describe API::Entities::SSHKey, feature_category: :authentication_and_authorization do describe '#as_json' do subject { entity.as_json } @@ -15,7 +15,8 @@ RSpec.describe API::Entities::SSHKey do title: key.title, created_at: key.created_at, expires_at: key.expires_at, - key: key.publishable_key + key: key.publishable_key, + usage_type: 'auth_and_signing' ) end end |