test/unit/gateways/moneris_test.rb in activemerchant-1.4.1 vs test/unit/gateways/moneris_test.rb in activemerchant-1.4.2
- old
+ new
@@ -85,10 +85,10 @@
def test_supported_countries
assert_equal ['CA'], MonerisGateway.supported_countries
end
def test_supported_card_types
- assert_equal [:visa, :master], MonerisGateway.supported_cardtypes
+ assert_equal [:visa, :master, :american_express], MonerisGateway.supported_cardtypes
end
def test_should_raise_error_if_transaction_param_empty_on_credit_request
[nil, '', '1234'].each do |invalid_transaction_param|
assert_raise(ArgumentError) { @gateway.void(invalid_transaction_param) }