Skip to content

Commit

Permalink
Add missing RSpec module references to initial describe calls
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Dec 30, 2023
1 parent 48cfdfa commit ef4451a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/jwt/jwk/okp_rbnacl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion spec/jwt/x5c_key_finder_spec.rb
Original file line number Diff line number Diff line change
@@ -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) }
Expand Down

0 comments on commit ef4451a

Please sign in to comment.