Sha256: 406c3dfcd051301f238d48ad9edc29aa11c1aa180269f5fad7bb3b97c58e4732

Contents?: true

Size: 944 Bytes

Versions: 68

Compression:

Stored size: 944 Bytes

Contents

require_relative "test_helper"

# Internal: The test for Plaid::Webhooks.
class PlaidWebhooksTest < PlaidTest
  def test_get_verification_key
    key_id = "6c5516e1-92dc-479e-a8ff-5a51992e0001"

    webhook_verification_key_get_request = Plaid::WebhookVerificationKeyGetRequest.new
    webhook_verification_key_get_request.key_id = key_id

    webhook_verification_key_response = client.webhook_verification_key_get(webhook_verification_key_get_request)

    refute_empty(webhook_verification_key_response.key.to_hash)
    refute_empty(webhook_verification_key_response.key.alg)
    refute_empty(webhook_verification_key_response.key.crv)
    refute_empty(webhook_verification_key_response.key.kid)
    refute_empty(webhook_verification_key_response.key.kty)
    refute_empty(webhook_verification_key_response.key.use)
    refute_empty(webhook_verification_key_response.key.x)
    refute_empty(webhook_verification_key_response.key.y)
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
plaid-15.4.0 test/test_webhooks.rb
plaid-15.3.0 test/test_webhooks.rb
plaid-15.2.0 test/test_webhooks.rb
plaid-15.1.0 test/test_webhooks.rb
plaid-15.0.0 test/test_webhooks.rb
plaid-14.14.0 test/test_webhooks.rb
plaid-14.13.0 test/test_webhooks.rb
plaid-14.12.1 test/test_webhooks.rb
plaid-14.12.0 test/test_webhooks.rb
plaid-14.11.1 test/test_webhooks.rb
plaid-14.11.0 test/test_webhooks.rb
plaid-14.10.0 test/test_webhooks.rb
plaid-14.9.0 test/test_webhooks.rb
plaid-14.8.0 test/test_webhooks.rb
plaid-14.7.0 test/test_webhooks.rb
plaid-14.6.0 test/test_webhooks.rb
plaid-14.5.0 test/test_webhooks.rb
plaid-14.0.0.beta.5.pre.plural.pre.income.pre.breakdown test/test_webhooks.rb
plaid-14.4.0 test/test_webhooks.rb
plaid-14.3.0 test/test_webhooks.rb