Sha256: 440e99278a0066cfe07274b9c4f66e83cd30da46e1b1f9979f919ce3be02f4a5

Contents?: true

Size: 571 Bytes

Versions: 7

Compression:

Stored size: 571 Bytes

Contents

require_relative '../lib/mangopay'
require_relative './lib/mangopay/shared_resources'

require 'capybara/rspec'
require 'capybara-webkit'
require 'fileutils'
require 'pp'

Capybara.default_driver = :webkit

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__)
    FileUtils.mkdir_p(c.temp_dir) unless File.directory?(c.temp_dir)
  end
end
reset_mangopay_configuration

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mangopay-3.0.11 spec/spec_helper.rb
mangopay-3.0.10 spec/spec_helper.rb
mangopay-3.0.9 spec/spec_helper.rb
mangopay-3.0.8 spec/spec_helper.rb
mangopay-3.0.7 spec/spec_helper.rb
mangopay-3.0.6 spec/spec_helper.rb
mangopay-3.0.5 spec/spec_helper.rb