Sha256: c298a2fa58677990aa171a21cd6fe8c143d2a3e12c61699e14db6ddbeb212bcb
Contents?: true
Size: 354 Bytes
Versions: 8
Compression:
Stored size: 354 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerNameNL < Test::Unit::TestCase def setup @tester = Faker::NameNL 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
8 entries across 8 versions & 2 rubygems