Sha256: 0e41df963edd8a62747de9a50998dc7ee54e67fa929bfe0432d62a2f1b6ae5c7

Contents?: true

Size: 531 Bytes

Versions: 4

Compression:

Stored size: 531 Bytes

Contents

require_relative '../test/core_pro_test_base'
require_relative '../lib/corepro/customer_document'

class AeCustomerDocumentTest < CoreProTestBase
  def test_upload
    cd = CorePro::CustomerDocument.new
    cd.customerId = @@prepaidCustomerId
    cd.documentType = 'DriversLicense'
    cd.reasonType = 'NameChange'
    cd.documentName = 'test.pdf'
    folder = File.expand_path(File.dirname(File.dirname(__FILE__)))
    cd.documentContent = File.read(folder + '/test.pdf')
    cd.upload @@prepaidConn, nil
    assert true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
corepro-0.0.9 test/ae_customer_document_test.rb
corepro-0.0.8 test/ae_customer_document_test.rb
corepro-0.0.7 test/ae_customer_document_test.rb
corepro-0.0.6 test/ae_customer_document_test.rb