Sha256: 1a0c367586e08a0e29aa1a14a03a9af32bac80ab6cc35132225bfb90d9daa1fa

Contents?: true

Size: 531 Bytes

Versions: 8

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 = @@exampleCustomerId
    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 @@exampleConn, nil
    assert true
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 test/ae_customer_document_test.rb
corepro_eg-1.0.8 test/ae_customer_document_test.rb
corepro_eg-1.0.7 test/ae_customer_document_test.rb
corepro_eg-1.0.6 test/ae_customer_document_test.rb
corepro_eg-1.0.5 test/ae_customer_document_test.rb
corepro_eg-1.0.4 test/ae_customer_document_test.rb
corepro_eg-1.0.3 test/ae_customer_document_test.rb
corepro_eg-1.0.2 test/ae_customer_document_test.rb