Sha256: 316080f325eaddd362674e40a71ba7b34d4289a36389f80fc54d44aa91d95f30

Contents?: true

Size: 689 Bytes

Versions: 8

Compression:

Stored size: 689 Bytes

Contents

require "test/unit"
require_relative "../lib/corepro/connection"
require_relative "../lib/corepro/core_pro_api_exception"

class CoreProTestBase < Test::Unit::TestCase

  # common properties for tests
  @@timestamp = Time.now.to_s

  @@documentId = nil

  @@exampleConn = CorePro::Connection.new 'example1', 'example1', 'sandbox-api.corepro.io' #, '127.0.0.1', '8888'

  @@exampleProgramReserveAccountId = nil

  @@exampleCustomerId = nil

  @@exampleAccountId = nil

  @@exampleExternalAccountId = nil

  @@exampleCardId = nil

  @@exampleExternalToInternalTransactionId = nil

  @@exampleExternalToInternalTransactionTag = nil

  @@exampleProgramReserveToInternalTransactionId = nil

end

Version data entries

8 entries across 8 versions & 2 rubygems

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