Sha256: c4415f9f58ae807123c9d5998d5784c5d6826064d8a3533b7df1af7c52c0bd0f

Contents?: true

Size: 732 Bytes

Versions: 36

Compression:

Stored size: 732 Bytes

Contents

require 'test_helper'

class PayflowUkTest < Test::Unit::TestCase
  def setup
    @gateway = PayflowUkGateway.new(
      :login => 'LOGIN',
      :password => 'PASSWORD'
    )
  end

  def test_default_currency
    assert_equal 'GBP', PayflowUkGateway.default_currency
  end
  
  def test_express_instance
    assert_instance_of PayflowExpressUkGateway, @gateway.express
  end
  
  def test_default_partner
    assert_equal 'PayPalUk', PayflowUkGateway.partner
  end
  
  def test_supported_countries
    assert_equal ['GB'], PayflowUkGateway.supported_countries
  end
  
  def test_supported_card_types
    assert_equal [:visa, :master, :american_express, :discover, :solo, :switch], PayflowUkGateway.supported_cardtypes
  end
end

Version data entries

36 entries across 36 versions & 11 rubygems

Version Path
johnideal-activemerchant-1.4.10 test/unit/gateways/payflow_uk_test.rb
johnideal-activemerchant-1.4.11 test/unit/gateways/payflow_uk_test.rb
johnideal-activemerchant-1.4.4 test/unit/gateways/payflow_uk_test.rb
johnideal-activemerchant-1.4.5 test/unit/gateways/payflow_uk_test.rb
johnideal-activemerchant-1.4.6 test/unit/gateways/payflow_uk_test.rb
johnideal-activemerchant-1.4.7 test/unit/gateways/payflow_uk_test.rb
johnideal-activemerchant-1.4.8 test/unit/gateways/payflow_uk_test.rb
mattbauer-activemerchant-1.4.2 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.3 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.4 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.5 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.6 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.7 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.8 test/unit/gateways/payflow_uk_test.rb
tomriley-tomriley-active_merchant-1.4.2.4 test/unit/gateways/payflow_uk_test.rb
goldstar-activemerchant-1.4.2.7 test/unit/gateways/payflow_uk_test.rb
goldstar-activemerchant-1.4.2.6 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.11 test/unit/gateways/payflow_uk_test.rb
tomriley-active_merchant-1.4.2.10 test/unit/gateways/payflow_uk_test.rb
smulube-activemerchant-1.5.1.4 test/unit/gateways/payflow_uk_test.rb