Sha256: 4f3b985058d915c854a40af817d1f1c81fcc360f419c942f9f4d03ade05d369f
Contents?: true
Size: 510 Bytes
Versions: 8
Compression:
Stored size: 510 Bytes
Contents
# encoding: utf-8 require 'helper' class TestAddressNL < Test::Unit::TestCase def setup @tester = Faker::AddressNL end def test_city assert_match /[ a-z]+/, @tester.city end def test_province assert_match /[ a-z]/, @tester.province end def test_zip_code assert_match /^\d{4}\s\w{2}$/, @tester.zip_code end def test_street_name assert_match /[ a-z]+/, @tester.street_name end def test_street_address assert_match /[ a-z]+/, @tester.street_address end end
Version data entries
8 entries across 8 versions & 2 rubygems