Sha256: f8a8e06d5567c38243b940dc7911cc838a3a9702a40e01373fbd8790d9bd8184
Contents?: true
Size: 743 Bytes
Versions: 7
Compression:
Stored size: 743 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestSSNMX < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::SSNMX, :ssn, :ssn_undashed, :imss, :imss_undashed, :issste, :issste_undashed ) def test_ssn assert_match(/\d{10}-\d/, FFaker::SSNMX.ssn) end def test_ssn_undashed assert_match(/\d{11}/, FFaker::SSNMX.ssn_undashed) end def test_imss assert_match(/\d{10}-\d/, FFaker::SSNMX.imss) end def test_imss_undashed assert_match(/\d{11}/, FFaker::SSNMX.imss_undashed) end def test_issste assert_match(/\d{10}-\d/, FFaker::SSNMX.issste) end def test_issste_undashed assert_match(/\d{11}/, FFaker::SSNMX.issste_undashed) end end
Version data entries
7 entries across 7 versions & 1 rubygems