Sha256: 3983045a17d83b9a81a3482b3be379f38fae02a157f88c12840b30f49ca4db21

Contents?: true

Size: 503 Bytes

Versions: 5

Compression:

Stored size: 503 Bytes

Contents

describe MangoPay::PaymentMethodMetadata, type: :feature do
  include_context 'payment_method_metadata'

  describe 'GET PAYMENT METHOD METADATA' do
    it 'gets a new payment method metadata' do
      metadata = get_payment_method_metadata

      expect(metadata).not_to be_nil
      expect(metadata['IssuerCountryCode']).not_to be_nil
      expect(metadata['IssuingBank']).not_to be_nil
      expect(metadata['BinData']).not_to be_nil
      expect(metadata['CardType']).not_to be_nil
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mangopay-3.25.0 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.24.1 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.24.0 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.23.0 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.22.0 spec/mangopay/payment_method_metadata_spec.rb