Sha256: 7db635f3c64563eb5c56465a140b7d9ea9529d7f1048bad54c081d16f2816e11
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressUK < Test::Unit::TestCase def test_county assert_match /[ a-z]/, FFaker::AddressUK.county end def test_country assert_match /[ a-z]/, FFaker::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}$/, FFaker::AddressUK.postcode end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | test/test_address_uk.rb |
ffaker-2.1.0 | test/test_address_uk.rb |
ffaker-2.0.0 | test/test_address_uk.rb |