test/remote/gateways/remote_braintree_test.rb in activemerchant-1.4.2 vs test/remote/gateways/remote_braintree_test.rb in activemerchant-1.5.0

- old
+ new

@@ -1,6 +1,6 @@ -require File.dirname(__FILE__) + '/../../test_helper' +require 'test_helper' class RemoteBraintreeTest < Test::Unit::TestCase def setup @gateway = BraintreeGateway.new(fixtures(:braintree)) @@ -16,17 +16,10 @@ def test_successful_purchase assert response = @gateway.purchase(@amount, @credit_card, @options) assert_equal 'This transaction has been approved', response.message assert_success response end - - def test_successful_purchase_with_old_naming - gateway = BrainTreeGateway.new(fixtures(:braintree)) - assert response = gateway.purchase(@amount, @credit_card, @options) - assert_equal 'This transaction has been approved', response.message - assert_success response - end - + def test_successful_purchase_with_echeck check = ActiveMerchant::Billing::Check.new( :name => 'Fredd Bloggs', :routing_number => '111000025', # Valid ABA # - Bank of America, TX :account_number => '999999999999',