Sha256: 2284160709835c5d29fdf719cf3baf0e34301a01a263270ac8527da17fa1a699

Contents?: true

Size: 419 Bytes

Versions: 7

Compression:

Stored size: 419 Bytes

Contents

require 'helper'

module Mollie
  class IssuerTest < Test::Unit::TestCase
    def test_setting_attributes
      attributes = {
        id:     'ideal_ABNANL2A',
        name:   'ABN AMRO',
        method: 'ideal'
      }

      customer = Issuer.new(attributes)

      assert_equal 'ideal_ABNANL2A', customer.id
      assert_equal 'ABN AMRO', customer.name
      assert_equal 'ideal', customer.method
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mollie-api-ruby-3.1.5 test/mollie/issuer_test.rb
mollie-api-ruby-3.1.4 test/mollie/issuer_test.rb
mollie-api-ruby-3.1.4.pre.beta test/mollie/issuer_test.rb
mollie-api-ruby-3.1.3 test/mollie/issuer_test.rb
mollie-api-ruby-3.1.2 test/mollie/issuer_test.rb
mollie-api-ruby-3.1.1 test/mollie/issuer_test.rb
mollie-api-ruby-3.1.0 test/mollie/issuer_test.rb