diff --git a/spec/jwt/jwk/okp_rbnacl_spec.rb b/spec/jwt/jwk/okp_rbnacl_spec.rb index 48f50342..88303163 100644 --- a/spec/jwt/jwk/okp_rbnacl_spec.rb +++ b/spec/jwt/jwk/okp_rbnacl_spec.rb @@ -2,7 +2,7 @@ require 'securerandom' -describe 'JWT::JWK::OKPRbNaCl' do +RSpec.describe 'JWT::JWK::OKPRbNaCl' do let(:described_class) { JWT::JWK::OKPRbNaCl } let(:private_key) { RbNaCl::Signatures::Ed25519::SigningKey.new(SecureRandom.hex) } let(:public_key) { private_key.verify_key } diff --git a/spec/jwt/x5c_key_finder_spec.rb b/spec/jwt/x5c_key_finder_spec.rb index 46b17677..7ebfc4f7 100644 --- a/spec/jwt/x5c_key_finder_spec.rb +++ b/spec/jwt/x5c_key_finder_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -describe JWT::X5cKeyFinder do +RSpec.describe JWT::X5cKeyFinder do let(:root_key) { test_pkey('rsa-2048-private.pem') } let(:root_dn) { OpenSSL::X509::Name.parse('/DC=org/DC=fake-ca/CN=Fake CA') } let(:root_certificate) { generate_root_cert(root_dn, root_key) }