Sha256: c27d0d8d39b97356d9c3f476592f9cf3980416571931e1effdf3924c1a58ec33

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 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['BinData'][0]['CardType']).not_to be_nil
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mangopay-3.28.0 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.27.0 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.26.1 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.26.0 spec/mangopay/payment_method_metadata_spec.rb
mangopay-3.25.1 spec/mangopay/payment_method_metadata_spec.rb