Skip to content

Commit

Permalink
Skip failing specs on JRuby due to jruby-openssl OpenSSL::PKey::EC
Browse files Browse the repository at this point in the history
…bugs (issue #261).
  • Loading branch information
postmodern committed May 10, 2022
1 parent c041b5e commit 2a5e69f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/crypto/key/ec_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
subject { described_class }

it "must parse a PEM encoded EC key" do
if RUBY_ENGINE == 'jruby'
skip "https://github.com/jruby/jruby-openssl/issues/257"
end

expect(subject.parse(pem).to_pem).to eq(pem)
end
end
Expand All @@ -40,6 +44,10 @@
subject { described_class }

it "must read and parse the path to the key file" do
if RUBY_ENGINE == 'jruby'
skip "https://github.com/jruby/jruby-openssl/issues/257"
end

expect(subject.load(path).to_pem).to eq(pem)
end
end
Expand Down

0 comments on commit 2a5e69f

Please sign in to comment.