Sha256: cd06056d6da49f0eeeb0eac33b8de22bf65022399a7b7d5b3b593ce4962330c1

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

require 'simplecov'
require 'byebug'

# FIXME
# SimpleCov.adapters.define 'gem' do
#   add_filter '/spec/'
#   add_filter '/autotest/'
#   add_group 'Libraries', '/lib/'
# end
# SimpleCov.start 'gem'
def read_support_file(file_path)
  File.open File.expand_path("../support/#{file_path}", __FILE__), "r:UTF-8", &:read
end

def sandbox_gateway_config
  WirecardSepa::Config.new({
    api_url:             'https://api-test.wirecard.com/engine/rest/paymentmethods/',
    http_auth_username:  '70000-APITEST-AP',
    http_auth_password:  'qD2wzQ_hrc!8',
    merchant_account_id: '4c901196-eff7-411e-82a3-5ef6b6860d64',
    creditor_id:         'abcdef',
  })
end

require 'wirecard_sepa'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wirecard_sepa-0.0.2 spec/spec_helper.rb