Sha256: dce9b0ffe697d6bf5f039340aa09ca3d714ee46e521df0125e494f8a775ab7fc
Contents?: true
Size: 540 Bytes
Versions: 4
Compression:
Stored size: 540 Bytes
Contents
require 'test_helper' class RemoteGatewayOptionsTest < Test::Unit::TestCase def setup @environment = Spreedly::Environment.new(remote_test_environment_key, remote_test_access_secret) end def test_successfully_get_options gateway_classes = @environment.gateway_options braintree = gateway_classes.select { |each| each.name == "Braintree" }.first assert_equal "http://www.braintreepaymentsolutions.com/", braintree.homepage assert_equal ["credit_card", "third_party_token"], braintree.payment_methods end end
Version data entries
4 entries across 4 versions & 1 rubygems