test/unit/gateways/paypal_test.rb in activemerchant-1.3.1 vs test/unit/gateways/paypal_test.rb in activemerchant-1.3.2
- old
+ new
@@ -92,29 +92,9 @@
assert_equal 'test', express.options[:login]
assert_equal 'password', express.options[:password]
assert_equal '123456', express.options[:pem]
end
- def test_successful_state_lookup
- assert_equal 'AB', @gateway.send(:lookup_state, { :country => 'CA', :state => 'AB'})
- end
-
- def test_lookup_unknown_state
- assert_equal '', @gateway.send(:lookup_state, { :country => 'XX', :state => 'NA'})
- end
-
- def test_lookup_uk_with_state
- assert_equal 'Avon', @gateway.send(:lookup_state, { :country => 'United Kingdom', :state => 'Avon'})
- end
-
- def test_lookup_uk_with_no_state
- assert_equal 'N/A', @gateway.send(:lookup_state, { :country => 'GB', :state => '' })
- end
-
- def test_lookup_australian_state
- assert_equal 'Australian Capital Territory', @gateway.send(:lookup_state, { :country => 'AU', :state => 'ACT'} )
- end
-
def test_supported_countries
assert_equal ['US'], PaypalGateway.supported_countries
end
def test_supported_card_types