lib/keratin/authn/test/helpers.rb in keratin-authn-0.2.0 vs lib/keratin/authn/test/helpers.rb in keratin-authn-0.3.0

- old
+ new

@@ -11,10 +11,10 @@ iss: Keratin::AuthN.config.issuer, aud: Keratin::AuthN.config.audience, sub: subject, iat: 10.seconds.ago, exp: 1.hour.from_now - ).sign(jws_keypair, JWS_ALGORITHM).to_s + ).sign(jws_keypair.to_jwk, JWS_ALGORITHM).to_s end # a temporary RSA key for our test suite. # # generates the smallest (fastest) key possible for RS256