spec/spki_spec.rb in r509-1.0 vs spec/spki_spec.rb in r509-1.0.1
- old
+ new
@@ -20,10 +20,10 @@
expect(spki.to_pem).not_to be_nil
case
when @key.rsa?
expect(spki.signature_algorithm).to(match(/sha256/i))
when @key.dsa?
- expect(spki.signature_algorithm).to(match(/sha1/i))
+ expect(spki.signature_algorithm).to(match(/sha256/i))
end
spki.verify_signature
end
it "stores the key" do