Sha256: d3af877991f09c8c291d3c81a78d13c8496f46d5954c7567574458755328acfd

Contents?: true

Size: 1010 Bytes

Versions: 39

Compression:

Stored size: 1010 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'

    # sandbox environment:
    c.root_url = 'https://api.sandbox.mangopay.com'
    c.client_apiKey = '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 'pp'
# require 'http_logger'
# require 'logger'
# HttpLogger.logger            = Logger.new(STDOUT)
# HttpLogger.colorize          = true
# HttpLogger.log_headers       = true # false

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
mangopay-3.28.0 spec/spec_helper.rb
mangopay-3.27.0 spec/spec_helper.rb
mangopay-3.26.1 spec/spec_helper.rb
mangopay-3.26.0 spec/spec_helper.rb
mangopay-3.25.1 spec/spec_helper.rb
mangopay-3.25.0 spec/spec_helper.rb
mangopay-3.24.1 spec/spec_helper.rb
mangopay-3.24.0 spec/spec_helper.rb
mangopay-3.23.0 spec/spec_helper.rb
mangopay-3.22.0 spec/spec_helper.rb
mangopay-3.21.0 spec/spec_helper.rb
mangopay-3.20.0 spec/spec_helper.rb
mangopay-3.19.0 spec/spec_helper.rb
mangopay-3.18.0 spec/spec_helper.rb
mangopay-3.17.0 spec/spec_helper.rb
mangopay-3.16.0 spec/spec_helper.rb
mangopay-3.15.0 spec/spec_helper.rb
mangopay-3.14.0 spec/spec_helper.rb
mangopay-3.13.2 spec/spec_helper.rb
mangopay-3.12.0 spec/spec_helper.rb