Sha256: 738aca756e34496c9515412438515d7f3c667a45081659aa6042574c7bf737e0
Contents?: true
Size: 396 Bytes
Versions: 10
Compression:
Stored size: 396 Bytes
Contents
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_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
10 entries across 10 versions & 1 rubygems