We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9dc8f commit 1cec3f4Copy full SHA for 1cec3f4
spec/jwt/algos/hmac_spec.rb
@@ -3,6 +3,9 @@
3
RSpec.describe ::JWT::Algos::Hmac do
4
describe '.sign' do
5
subject { described_class.sign('HS256', 'test', hmac_secret) }
6
+ before do
7
+ skip 'test only applicable for OpenSSL' if defined?(RbNaCl)
8
+ end
9
10
# Address OpenSSL 3.0 errors with empty hmac_secret - https://github.com/jwt/ruby-jwt/issues/526
11
context 'when nil hmac_secret is passed' do
0 commit comments