test/unit/gateways/paypal_test.rb in abtain_billing-1.0 vs test/unit/gateways/paypal_test.rb in abtain_billing-1.02
- old
+ new
@@ -119,13 +119,13 @@
def test_supported_card_types
assert_equal [:visa, :master, :american_express, :discover], PaypalGateway.supported_cardtypes
end
def test_button_source
- PaypalGateway.application_id = 'ActiveMerchant_DC'
+ PaypalGateway.application_id = 'AbtainBilling_DC'
xml = REXML::Document.new(@gateway.send(:build_sale_or_authorization_request, 'Test', @amount, @credit_card, {}))
- assert_equal 'ActiveMerchant_DC', REXML::XPath.first(xml, '//n2:ButtonSource').text
+ assert_equal 'AbtainBilling_DC', REXML::XPath.first(xml, '//n2:ButtonSource').text
end
def test_item_total_shipping_handling_and_tax_not_included_unless_all_are_present
xml = @gateway.send(:build_sale_or_authorization_request, 'Authorization', @amount, @credit_card,
:tax => @amount,