test/unit/gateways/payment_express_test.rb in activemerchant-1.4.2 vs test/unit/gateways/payment_express_test.rb in activemerchant-1.5.0

- old
+ new

@@ -1,6 +1,6 @@ -require File.dirname(__FILE__) + '/../../test_helper' +require 'test_helper' class PaymentExpressTest < Test::Unit::TestCase def setup @gateway = PaymentExpressGateway.new( @@ -107,17 +107,17 @@ end def test_avs_result_not_supported @gateway.expects(:ssl_post).returns(successful_authorization_response) - response = @gateway.purchase(@amount, @credit_card, @options) + response = @gateway.purchase(@amount, @visa, @options) assert_nil response.avs_result['code'] end def test_cvv_result_not_supported @gateway.expects(:ssl_post).returns(successful_authorization_response) - response = @gateway.purchase(@amount, @credit_card, @options) + response = @gateway.purchase(@amount, @visa, @options) assert_nil response.cvv_result['code'] end private def invalid_credentials_response