Sha256: 217953a75593b60937b0a2e42e74b998ee8eefaeba84b0713cfa541111b2a409
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 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_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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ffaker-1.21.0 | test/test_address_us.rb |
ffaker-1.20.0 | test/test_address_us.rb |
ffaker-1.19.0 | test/test_address_us.rb |
ffaker-1.18.0 | test/test_address_us.rb |