Sha256: 63c76678825ae5e290b36fd7487cade0a6a8f01430ad86a800f2d61e0e613278
Contents?: true
Size: 509 Bytes
Versions: 10
Compression:
Stored size: 509 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressUK < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::AddressUK, :country, :county, :postcode ) 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
10 entries across 10 versions & 1 rubygems