Sha256: b71a716aea24446e1a433f6747737b5b7b7555dd7e04cc92e85a6b77e2c42c76

Contents?: true

Size: 741 Bytes

Versions: 26

Compression:

Stored size: 741 Bytes

Contents

describe MangoPay::PayIn::Payconiq::Web, 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('PAYCONIQ')
    expect(payin['ExecutionType']).to eq('WEB')

    # not SUCCEEDED yet: waiting for processing
    expect(payin['Status']).to eq('CREATED')
    expect(payin['ResultCode']).to be_nil
    expect(payin['ResultMessage']).to be_nil
    expect(payin['ExecutionDate']).to be_nil
  end

  describe 'CREATE' do
    it 'creates a payconiq web payin' do
      created = new_payin_payconiq_web
      expect(created['Id']).not_to be_nil
      check_type_and_status(created)
    end
  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

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