Sha256: 396f4862cf831715da4c4241ed25a95886fdeba933d59a2cead542ffddb87e08

Contents?: true

Size: 665 Bytes

Versions: 17

Compression:

Stored size: 665 Bytes

Contents

describe MangoPay::PayIn::GooglePay::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('GOOGLE_PAY')
    expect(payin['ExecutionType']).to eq('DIRECT')
    expect(payin['Status']).to eq('CREATED')
  end

  describe 'CREATE' do
    it 'creates a googlepay direct payin' do
      pending("Cannot be tested due to impossibility to generate payment_data in test")
      created = new_payin_googlepay_direct
      expect(created['Id']).not_to be_nil
      check_type_and_status(created)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

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