Sha256: 8410515e7fdc4ed1d6cf774712adea55110f66a39c9493a5c9ed5fb9a2e43101

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), "..", "lib")

require 'test/unit'
#require 'rubygems'
require 'USPS/address'
#require 'test_includes'

class AddressTest < Test::Unit::TestCase
#  include TestMethods

  def setup
  end

  def test_address
    address = USPS::Address.new

    address.delivery_address = '6216 Eddington'
    address.city = 'Middletown'
    address.zip_code = '45044'

    assert_equal('6216 Eddington', address.delivery_address)
    assert_equal('Middletown', address.city)
    assert_equal('45044', address.zip_code)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ziplookup-1.0.0 test/tc_address.rb