Sha256: 65b890fe237818f94fe2afc6286d81d8513668c553ae645043de70b5eff93d67
Contents?: true
Size: 543 Bytes
Versions: 6
Compression:
Stored size: 543 Bytes
Contents
# encoding: utf-8 require 'helper' class TestCompanyIT < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::CompanyIT, :name, :suffix, :prefix, :partita_iva ) def test_name assert_match(/[ a-z]+/, FFaker::CompanyIT.name) end def test_suffix assert_match(/[ a-z]+/i, FFaker::CompanyIT.suffix) end def test_prefix assert_match(/[ a-z]+/i, FFaker::CompanyIT.prefix) end def test_partita_iva assert_match(/\d{11}/, FFaker::CompanyIT.partita_iva) end end
Version data entries
6 entries across 6 versions & 1 rubygems