Sha256: b4ac0687a37ddef4f25a5b23da50a1a94d4af75a3abb174a824bb38452a003f8
Contents?: true
Size: 608 Bytes
Versions: 8
Compression:
Stored size: 608 Bytes
Contents
# encoding: utf-8 require 'helper' # Author Guapolo <github.com/guapolo> class TestSSNMX < Test::Unit::TestCase def test_ssn assert_match(/\d{10}-\d/, Faker::SSNMX.ssn) end def test_ssn_undashed assert_match(/\d{11}/, Faker::SSNMX.ssn_undashed) end def test_imss assert_match(/\d{10}-\d/, Faker::SSNMX.imss) end def test_imss_undashed assert_match(/\d{11}/, Faker::SSNMX.imss_undashed) end def test_issste assert_match(/\d{10}-\d/, Faker::SSNMX.issste) end def test_issste_undashed assert_match(/\d{11}/, Faker::SSNMX.issste_undashed) end end
Version data entries
8 entries across 8 versions & 2 rubygems