Sha256: 25403a1e2892bcc08016cfc60133e706acc09f20fe499b5f1d1670b42be83633
Contents?: true
Size: 354 Bytes
Versions: 14
Compression:
Stored size: 354 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerNameDE < Test::Unit::TestCase def setup @tester = Faker::NameDE end def test_name assert @tester.name.match(/(\w+\.? ?){2,3}/) end def test_prefix assert @tester.prefix.match(/[A-Z][a-z]+\.?/) end def test_suffix assert @tester.suffix.match(/[A-Z][a-z]*\.?/) end end
Version data entries
14 entries across 14 versions & 3 rubygems