Sha256: 92a2c0a55ebe15caafd0d3334e70d1801c003a77aa548c20a5862dec38021dad
Contents?: true
Size: 360 Bytes
Versions: 9
Compression:
Stored size: 360 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressCA < Test::Unit::TestCase def test_province assert_match /[ a-z]/, Faker::AddressCA.province end def test_province_abbr assert_match /[A-Z][A-Z]/, Faker::AddressCA.province_abbr end def test_postal_code assert_match /[A-Z]\d[A-Z]\W\d[A-Z]\d/, Faker::AddressCA.postal_code end end
Version data entries
9 entries across 9 versions & 2 rubygems