Skip to content

Commit 1cec3f4

Browse files
jonmchananakinj
authored andcommitted
disabling OpenSSL hmac test from running on rbnacl
1 parent 6c9dc8f commit 1cec3f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/jwt/algos/hmac_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
RSpec.describe ::JWT::Algos::Hmac do
44
describe '.sign' do
55
subject { described_class.sign('HS256', 'test', hmac_secret) }
6+
before do
7+
skip 'test only applicable for OpenSSL' if defined?(RbNaCl)
8+
end
69

710
# Address OpenSSL 3.0 errors with empty hmac_secret - https://github.com/jwt/ruby-jwt/issues/526
811
context 'when nil hmac_secret is passed' do

0 commit comments

Comments
 (0)