Sha256: 1fb9f5760b993111bef41d5ac2138f6dd43b2a0c7b04a48eae476d3ca9f9746e

Contents?: true

Size: 558 Bytes

Versions: 6

Compression:

Stored size: 558 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '../test_helper'))
config = File.join(TEST_PATH, 'config/braintree_auth.yml')
if File.exist?(config) && 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

6 entries across 6 versions & 1 rubygems

Version Path
braintree-rails-0.4.5 test/integration/integration_test_helper.rb
braintree-rails-0.4.4 test/integration/integration_test_helper.rb
braintree-rails-0.4.3 test/integration/integration_test_helper.rb
braintree-rails-0.4.2 test/integration/integration_test_helper.rb
braintree-rails-0.4.1 test/integration/integration_test_helper.rb
braintree-rails-0.4.0 test/integration/integration_test_helper.rb