Sha256: b053d1cd75409c7efb7e5ff21a2ae7d59136ec24c9d6b0223f6fb5613eeec1a7

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 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 = 'example'
    c.client_passphrase = 'uyWsmnwMQyTnqKgi8Y35A3eVB7bGhqrebYqA1tL6x2vYNpGPiY'
    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

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-3.0.4 spec/spec_helper.rb
mangopay-3.0.3 spec/spec_helper.rb
mangopay-3.0.2 spec/spec_helper.rb