Sha256: 9d0fc6684a4b2b5016f39de40bb05ea4dc66f4f866f467c4a3c30c0aeded4c5e
Contents?: true
Size: 533 Bytes
Versions: 7
Compression:
Stored size: 533 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressUSUS < Test::Unit::TestCase def test_us_state assert_match /[ a-z]/, Faker::AddressUS.state end def test_us_state_abbr assert_match /[A-Z]/, Faker::AddressUS.state_abbr end def test_us_state_and_territories_abbr assert_match /[A-Z]/, Faker::AddressUS.state_and_territories_abbr end def test_zip_code assert_match /[0-9]/, Faker::AddressUS.zip_code end def test_zip_code_frozen assert Faker::AddressUS.zip_code.frozen? == false end end
Version data entries
7 entries across 7 versions & 2 rubygems