Sha256: 14886ba084167acc7a2e7f9c4e6136673d9ddb5e9137a9767c7d5b9a980f1fc3
Contents?: true
Size: 707 Bytes
Versions: 1
Compression:
Stored size: 707 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestAddressMX < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFakerTW::AddressMX, :municipality, :postal_code, :state_abbr, :state, :zip_code ) def test_mx_state assert_match(/[\sa-z]/i, FFakerTW::AddressMX.state) end def test_mx_state_abbr assert_match(/[A-Z]/, FFakerTW::AddressMX.state_abbr) end def test_postal_code assert_match(/[0-9]/, FFakerTW::AddressMX.postal_code) end def test_zip_code assert_match(/[0-9]/, FFakerTW::AddressMX.zip_code) end def test_mx_municipality assert_match(/[\sa-z]/i, FFakerTW::AddressMX.municipality) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | test/test_address_mx.rb |