Sha256: c7958e2e4fab26c03a5d3b67d9158f7d7f132fd014a672185c6bb485e71fec7f

Contents?: true

Size: 932 Bytes

Versions: 7

Compression:

Stored size: 932 Bytes

Contents

require 'mangopay'
require_relative 'mangopay/shared_resources'


################################################################################
# mangopay test account config (re-called once in configuration_spec)
def reset_mangopay_configuration
  MangoPay.configure do |c|
    c.preproduction = true
    c.client_id = 'sdk-unit-tests'
    c.client_passphrase = 'cqFfFrWfCcb7UadHNxx2C9Lo6Djw8ZduLi7J9USTmu8bhxxpju'
    c.temp_dir = File.expand_path('../tmp', __FILE__)
    require 'fileutils'
    FileUtils.mkdir_p(c.temp_dir) unless File.directory?(c.temp_dir)
  end
end
reset_mangopay_configuration


################################################################################
# uncomment it for logging all http calls in tests
#require 'http_logger'
#require 'logger'
#HttpLogger.logger            = Logger.new(STDOUT)
#HttpLogger.colorize          = true
#HttpLogger.log_headers       = false

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mangopay-3.0.19 spec/spec_helper.rb
mangopay-3.0.18 spec/spec_helper.rb
mangopay-3.0.17 spec/spec_helper.rb
mangopay-3.0.16 spec/spec_helper.rb
mangopay-3.0.15 spec/spec_helper.rb
mangopay-3.0.14 spec/spec_helper.rb
mangopay-3.0.13 spec/spec_helper.rb