Sha256: 7f31d5be92a65421746b1861acfb839bb2c0177078f562d546feaaae45da9086
Contents?: true
Size: 535 Bytes
Versions: 5
Compression:
Stored size: 535 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '../test_helper')) config = File.join(TEST_PATH, 'config/braintree_auth.yml') if auth = YAML.load_file(config) Braintree::Configuration.environment = :sandbox Braintree::Configuration.merchant_id = auth['merchant_id'] Braintree::Configuration.public_key = auth['public_key'] Braintree::Configuration.private_key = auth['private_key'] else puts '*' * 80 puts "You need to provide real credentials in #{config} to run integration tests" puts '*' * 80 exit(0) end
Version data entries
5 entries across 5 versions & 1 rubygems