Sha256: e6647b165e9a07c314f7218fb1b422af1550683839a51195845ebab2ffc35594

Contents?: true

Size: 612 Bytes

Versions: 25

Compression:

Stored size: 612 Bytes

Contents

describe MangoPay::PayIn::ApplePay::Direct, type: :feature do
  include_context 'payins'

  def check_type_and_status(payin)
    expect(payin['Type']).to eq('PAYIN')
    expect(payin['Nature']).to eq('REGULAR')
    expect(payin['PaymentType']).to eq('APPLEPAY')
    expect(payin['ExecutionType']).to eq('DIRECT')
    expect(payin['Status']).to eq('SUCCEEDED')
  end

  describe 'CREATE' do
    it 'creates a applepay direct payin' do
      pending("no cards to test for")
      created = new_payin_applepay_direct
      expect(created['Id']).not_to be_nil
      check_type_and_status(created)
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mangopay-3.28.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.27.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.26.1 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.26.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.25.1 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.25.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.24.1 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.24.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.23.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.22.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.21.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.20.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.19.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.18.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.17.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.16.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.15.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.14.0 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.13.2 spec/mangopay/payin_applepay_direct_spec.rb
mangopay-3.12.0 spec/mangopay/payin_applepay_direct_spec.rb