Sha256: 746e297b06578d54ecd6486ae1bdf6dd0693252f2c680437a006d69fb783bacd
Contents?: true
Size: 476 Bytes
Versions: 8
Compression:
Stored size: 476 Bytes
Contents
# encoding: utf-8 # => author: guapolo github.com/guapolo require 'helper' class TestAddressMX < Test::Unit::TestCase def setup @tester = Faker::AddressMX end def test_mx_state assert_match /[ A-Za-z]/, @tester.state end def test_mx_state_abbr assert_match /[A-Z]/, @tester.state_abbr end def test_postcode assert_match /[0-9]/, @tester.zip_code end def test_mx_municipality assert_match /[ a-z]/, @tester.municipality end end
Version data entries
8 entries across 8 versions & 1 rubygems