Sha256: 27916d4296e36a6d688312bc2e1e08d9f2476e21a77b8df49d691418daed90c6
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
# encoding: utf-8 require 'helper' # Author: guapolo github.com/guapolo class TestAddressMX < Test::Unit::TestCase def test_mx_state assert_match /[\sa-z]/i, FFaker::AddressMX.state end def test_mx_state_abbr assert_match /[A-Z]/, FFaker::AddressMX.state_abbr end def test_postal_code assert_match /[0-9]/, FFaker::AddressMX.postal_code end def test_zip_code assert_match /[0-9]/, FFaker::AddressMX.zip_code end def test_mx_municipality assert_match /[\sa-z]/i, FFaker::AddressMX.municipality end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.2.0 | test/test_address_mx.rb |
ffaker-2.1.0 | test/test_address_mx.rb |
ffaker-2.0.0 | test/test_address_mx.rb |