Sha256: 839b48d88a6aab62873eb3fa175f5a97c4819a42af9874e2b4382ba029d50947
Contents?: true
Size: 491 Bytes
Versions: 14
Compression:
Stored size: 491 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressDE < Test::Unit::TestCase def test_city assert_match /[ a-z]+/, Faker::AddressDE.city end def test_state assert_match /[ a-z]/, Faker::AddressDE.state end def test_zip_code assert_match /^\d{5}$/, Faker::AddressDE.zip_code end def test_street_name assert_match /[ a-z]+/, Faker::AddressDE.street_name end def test_street_address assert_match /[ a-z]+/, Faker::AddressDE.street_address end end
Version data entries
14 entries across 14 versions & 3 rubygems