Sha256: 8506a7d2d2bc9e541969a40210a4c6106e89c14cecb6a5d9d13f99945e27775a
Contents?: true
Size: 358 Bytes
Versions: 14
Compression:
Stored size: 358 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressUK < Test::Unit::TestCase def test_county assert_match /[ a-z]/, Faker::AddressUK.county end def test_country assert_match /[ a-z]/, Faker::AddressUK.country end def test_postcode assert_match /^[A-Z]{2}\d \d[A-Z]{2}|[A-Z]{2}\d\d \d[A-Z]{2}$/, Faker::AddressUK.postcode end end
Version data entries
14 entries across 14 versions & 3 rubygems